DataFormatComponent comp = context.getComponent("dataformat", DataFormatComponent.class);
EndpointConfiguration conf = comp.createConfiguration("dataformaat:marshal:string?charset=iso-8859-1");
assertEquals("iso-8859-1", conf.getParameter("charset"));
ComponentConfiguration compConf = comp.createComponentConfiguration();
String json = compConf.createParameterJsonSchema();
assertNotNull(json);
assertTrue(json.contains("\"operation\": { \"type\": \"string\""));
assertTrue(json.contains("\"synchronous\": { \"type\": \"boolean\""));
}