WebsocketEndpointConfig implements IWebsocketEndpointConfig { @Override public String getMaxMessagePropertyName() { return this.MAX_MESSAGE_LENGTH; } 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 testGetMaxMessagePropertyName() { assertEquals( websocketEndpointConfig.getClass().getName() + ":maximumMessageLength", websocketEndpointConfig.getMaxMessagePropertyName()); }