@Test(expected = ServerException.class)
public void testAddEventServerFailure() throws Exception {

    setMockResponse(500, "Injected server error");
    client.addEvent(TEST_COLLECTION, TEST_EVENTS.get(0));
}