@Test (expected = SDKInternalServerErrorException.class)
public void testSendRequestConflictResponse() {

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