@Test (expected = SDKResourceNotFoundException.class)
public void testSendRequestNotFoundResponse() {

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