DefaultWebsocketConfig implements WebsocketConfig { public static WebsocketConfig of(final Config config) { return new DefaultWebsocketConfig( ConfigWithFallback.newInstance(config, CONFIG_PATH, WebsocketConfigValue.values())); } private  DefaultWebsocketConfig(final ScopedConfig scopedConfig); static WebsocketConfig of(final Config config); @Override int getSubscriberBackpressureQueueSize(); @Override int getPublisherBackpressureBufferSize(); @Override double getThrottlingRejectionFactor(); @Override ThrottlingConfig getThrottlingConfig(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }
@Test public void render() { final WebsocketConfig underTest = DefaultWebsocketConfig.of(webSocketTestConfig); final Config rendered = underTest.render(); final WebsocketConfig reconstructed = DefaultWebsocketConfig.of(rendered); assertThat(reconstructed).isEqualTo(underTest); }