return false;
}
@Test
public void testComponentConfiguration() throws Exception {
WebsocketComponent comp = context.getComponent("atmosphere-websocket", WebsocketComponent.class);
EndpointConfiguration conf = comp.createConfiguration("atmosphere-websocket://localhost:8088/hola?sendToAll=true&useStreaming=false");
assertEquals("true", conf.getParameter("sendToAll"));
assertEquals("false", conf.getParameter("useStreaming"));
ComponentConfiguration compConf = comp.createComponentConfiguration();
String json = compConf.createParameterJsonSchema();
assertTrue(json.contains("\"useStreaming\": { \"type\": \"boolean\" }"));
assertTrue(json.contains("\"sendToAll\": { \"type\": \"boolean\" }"));
}