private void mockSuccessfulRequest(String nonProxyHosts, String fakeHost) throws IOException {
        HttpClient client = createHttpClient(nonProxyHosts);
        HttpUriRequest uriRequest = new HttpGet("http://" + fakeHost);
        HttpResponse response = executeWithRetries(client, uriRequest);
        Assert.assertEquals(200, response.getStatusLine().getStatusCode());
    }
The fakeHost doesn't match the nonProxyHosts pattern, so that requests to this fakeHost
will pass through the proxy and return successfully.
aws-java-sdk-core/src/test/java/com/amazonaws/internal/SdkProxyRoutePlannerIntegrationTest.java