ClientConfigurations { @VisibleForTesting static InetSocketAddress createInetSocketAddress(String uriString) { URI uri = URI.create(uriString); return InetSocketAddress.createUnresolved(uri.getHost(), uri.getPort()); } private  ClientConfigurations(); static ClientConfiguration of(ServiceConfiguration config); static ClientConfiguration of(
            List<String> uris, SSLSocketFactory sslSocketFactory, X509TrustManager trustManager); static ClientConfiguration of(
            List<String> uris, SSLSocketFactory sslSocketFactory, X509TrustManager trustManager, UserAgent userAgent); static ProxySelector createProxySelector(ProxyConfiguration proxyConfig);  }
@Test public void systemEnvUri() { InetSocketAddress inetSocketAddress = ClientConfigurations.createInetSocketAddress("http: assertThat(inetSocketAddress.getHostString()).isEqualTo("localhost"); assertThat(inetSocketAddress.getPort()).isEqualTo(8888); assertThat(inetSocketAddress.getAddress()) .as("Address should not be resolved") .isNull(); }