public Response get(URL url, Request request) throws IOException {
    return call(HttpMethods.GET, url, request);
  }
@Test
  public void testGet_sendCredentialsOverHttp() throws IOException {
    FailoverHttpClient insecureHttpClient = newHttpClient(true, true); // sendCredentialsOverHttp

    try (Response response =
        insecureHttpClient.get(new URL("http://plain.http"), fakeRequest(null))) {
      // intentionally empty
    }

    Assert.assertEquals(1, urlCaptor.getAllValues().size());

    Assert.assertEquals(
        "Basic ZmFrZS11c2VybmFtZTpmYWtlLXNlY3JldA==",
        httpHeadersCaptor.getValue().getAuthorization());
  }