WebsocketEndpointConfig implements IWebsocketEndpointConfig { @Override public String getServletContextPathPropertyName() { return this.SERVLET_CONTEXT_PATH_PROPERTY; } WebsocketEndpointConfig( String urlSufix,
                                  Class<?> endpointImpl,
                                  List<String> subProtocolAccepted,
                                  Predicate<String> isOriginAllowedPredicate,
                                  int maxMessageBytesLength ); String getUrlSufix(); Class<?> getEndpointImpl(); List<String> getSubProtocolAccepted(); Predicate<String> getIsOriginAllowedPredicate(); int getMaxMessageBytesLength(); @Override String getServletContextPathPropertyName(); @Override String getMaxMessagePropertyName(); static WebsocketEndpointConfig getInstanceToReadProperties();  }
@Test public void testGetServletContextPathPropertyName() { assertEquals( websocketEndpointConfig.getClass().getName() + ":servletContextPath", websocketEndpointConfig.getServletContextPathPropertyName()); }