@Test
public void testGetCountWhenOperationFails() {

    CountResult countResult = new CountResult(new Gson());
    countResult.setSucceeded(false);
    Double count = countResult.getCount();
    assertNull(count);
}