### Question:
RdapClientConfig { public boolean isHttps(){ String protocol = getUrl().substring(0, 5); String https = URLUtil.ProtocolType.HTTPS.name(); if(https.equalsIgnoreCase(protocol)){ return true; } return false; } RdapClientConfig(String url); String getUrl(); void setUrl(String url); int getConnectTimeout(); void setConnectTimeout(int connectTimeout); int getReadTimeout(); void setReadTimeout(int readTimeout); String getMediaType(); String getKeyStoreFilePath(); void setKeyStoreFilePath(String keyStoreFilePath); String getKeyStorePassword(); void setKeyStorePassword(String keyStorePassword); boolean isHttps();  }### Answer:
@Test public void test_isHttps_false(){ RdapClientConfig config = new RdapClientConfig("http: assertEquals(false, config.isHttps()); }
@Test public void test_isHttps_true(){ RdapClientConfig config = new RdapClientConfig("https: assertEquals(true, config.isHttps()); }