### Question:
StyxConfig implements Configuration { public ProxyServerConfig proxyServerConfig() { return proxyServerConfig; } StyxConfig();  StyxConfig(Configuration configuration); @Override Optional<T> get(String key, Class<T> tClass); @Override X as(Class<X> type); @Override Optional<String> get(String key); StyxHeaderConfig styxHeaderConfig(); ProxyServerConfig proxyServerConfig(); AdminServerConfig adminServerConfig(); int port(); Optional<String> applicationsConfigurationPath(); Iterable<Resource> versionFiles(StartupConfig startupConfig); static StyxConfig fromYaml(String yamlText); static StyxConfig fromYaml(String yamlText, boolean validateConfiguration); static StyxConfig defaultConfig(); @Override String toString(); static final String NO_JVM_ROUTE_SET; }### Answer:
@Test public void readsTheDefaultValueForBossThreadsCountIfNotConfigured() { assertThat(styxConfig.proxyServerConfig().bossThreadsCount(), is(HALF_OF_AVAILABLE_PROCESSORS)); }
@Test public void readsTheDefaultValueForClientWorkerThreadsCountIfNotConfigured() { assertThat(styxConfig.proxyServerConfig().clientWorkerThreadsCount(), is(HALF_OF_AVAILABLE_PROCESSORS)); }