WebsocketEndpointConfig implements IWebsocketEndpointConfig { public Predicate<String> getIsOriginAllowedPredicate() { return isOriginAllowedPredicate; } 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 testGetIsOriginAllowedPredicate() { assertEquals( isOriginAllowedPredicate, websocketEndpointConfig.getIsOriginAllowedPredicate()); }