### Question:
ServerConfig { protected static void setDefaultConfigs() { host = DEFAULT_APIFEST_HOST; port = DEFAULT_APIFEST_PORT; connectTimeout = DEFAULT_CONNECT_TIMEOUT; apifestNodes = DEFAULT_APIFEST_HOST; hazelcastPassword = DEFAULT_HAZELCAST_PASS; } private  ServerConfig(); static void readProperties(); static String getHost(); static Integer getPort(); static String getMappingsPath(); static String getTokenValidateHost(); static Integer getTokenValidatePort(); static Integer getConnectTimeout(); static String getCustomJarPath(); static String getApifestNodes(); static String getHazelcastPassword(); static String getGlobalErrorsFile();  }### Answer:
@Test public void when_set_default_configs_use_default_values() throws Exception { ServerConfig.setDefaultConfigs(); assertEquals(ServerConfig.host, ServerConfig.DEFAULT_APIFEST_HOST); assertEquals(ServerConfig.port, ServerConfig.DEFAULT_APIFEST_PORT); assertEquals(ServerConfig.connectTimeout, ServerConfig.DEFAULT_CONNECT_TIMEOUT); assertEquals(ServerConfig.apifestNodes, ServerConfig.DEFAULT_APIFEST_HOST); assertEquals(ServerConfig.hazelcastPassword, ServerConfig.DEFAULT_HAZELCAST_PASS); }