@Test
public void testFactoryConfiguration() {

	RoboconfWebSocketServlet servlet = new RoboconfWebSocketServlet();
	WebSocketServletFactory factory = Mockito.mock( WebSocketServletFactory.class );
	servlet.configure( factory );
	Mockito.verify( factory ).register( RoboconfWebSocket.class );
}