@Test
public void testComponentConfiguration() throws Exception {
JcrComponent component = context.getComponent("jcr", JcrComponent.class);
String uri = "jcr://gregor:secret@repo/home/gregor?deep=true&eventTypes=3&noLocal=false";
EndpointConfiguration configuration = component.createConfiguration(uri);
assertEquals("true", configuration.getParameter("deep"));
assertEquals("3", configuration.getParameter("eventTypes"));
assertEquals("false", configuration.getParameter("noLocal"));
ComponentConfiguration componentConfiguration = component.createComponentConfiguration();
String json = componentConfiguration.createParameterJsonSchema();
assertNotNull(json);