### Question:
ConfigUtil { public int getConnectTimeout() { return connectTimeout; } ConfigUtil(); String getAppId(); String getDataCenter(); String getCluster(); Env getApolloEnv(); String getLocalIp(); String getMetaServerDomainName(); int getConnectTimeout(); int getReadTimeout(); int getRefreshInterval(); TimeUnit getRefreshIntervalTimeUnit(); int getLoadConfigQPS(); int getLongPollQPS(); long getOnErrorRetryInterval(); TimeUnit getOnErrorRetryIntervalTimeUnit(); String getDefaultLocalCacheDir(); boolean isInLocalMode(); boolean isOSWindows(); long getMaxConfigCacheSize(); long getConfigCacheExpireTime(); TimeUnit getConfigCacheExpireTimeUnit(); long getLongPollingInitialDelayInMills(); boolean isAutoUpdateInjectedSpringPropertiesEnabled();  }### Answer:
@Test public void testCustomizeConnectTimeout() throws Exception { int someConnectTimeout = 1; System.setProperty("apollo.connectTimeout", String.valueOf(someConnectTimeout)); ConfigUtil configUtil = new ConfigUtil(); assertEquals(someConnectTimeout, configUtil.getConnectTimeout()); }
@Test public void testCustomizeInvalidConnectTimeout() throws Exception { String someInvalidConnectTimeout = "a"; System.setProperty("apollo.connectTimeout", someInvalidConnectTimeout); ConfigUtil configUtil = new ConfigUtil(); assertTrue(configUtil.getConnectTimeout() > 0); }