@Test (expected = SDKBadRequestException.class)
public void testSendRequestInvalidRequestType() {

    restClient.sendRequest(SESSION_ID, new Request(null, ""));
    fail("Exception should have been raised");
}