.setClassLoader(AnnotatedEndpointTest.class.getClassLoader())
.setContextPath("/ws")
.setResourceManager(new TestResourceLoader(AnnotatedEndpointTest.class))
.setClassIntrospecter(TestClassIntrospector.INSTANCE)
.addServletContextAttribute(WebSocketDeploymentInfo.ATTRIBUTE_NAME,
new WebSocketDeploymentInfo()
.setBuffers(new ByteBufferSlicePool(100, 1000))
.setWorker(DefaultServer.getWorker())
.addEndpoint(MessageEndpoint.class)
.addEndpoint(AnnotatedClientEndpoint.class)
.addEndpoint(AnnotatedClientEndpointWithConfigurator.class)