public Response get(URL url, Request request) throws IOException {
    return call(HttpMethods.GET, url, request);
  }
@Test
  public void testCall_secureClientOnUnverifiableServer() throws IOException {
    FailoverHttpClient httpClient = newHttpClient(false, false);

    Mockito.when(mockHttpRequest.execute()).thenThrow(new SSLPeerUnverifiedException("unverified"));

    try (Response response = httpClient.get(new URL("https://insecure"), fakeRequest(null))) {
      Assert.fail("Secure caller should fail if cannot verify server");
    } catch (SSLException ex) {
      Assert.assertEquals("unverified", ex.getMessage());
      Mockito.verifyNoInteractions(logger);
    }
  }