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

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