assertNotNull(consumer);
assertEquals(WebsocketConsumer.class, consumer.getClass());
// just check the servlet initial parameters
ConnectorRef conector = WebsocketComponent.getConnectors().values().iterator().next();
ServletContextHandler context = (ServletContextHandler)conector.server.getHandler();
String buffersize = context.getInitParameter("bufferSize");
assertEquals("Get a wrong buffersize", "65000", buffersize);
String maxIdleTime = context.getInitParameter("maxIdleTime");