@Test (expected = SDKApplianceNotReachableException.class)
public void testSendRequestProxyAuthResponse() {

    Mockito.when(responseStatus.getStatusCode()).thenReturn(407);
    restClient.sendRequest(SESSION_ID, new Request(HttpMethod.GET, ""));
    fail("Exception should have been raised");
}