@Test
public void testThatGetCurrentlyBlockedIpsAndDateViolatedMapReturnsEmptyMapWhenS3HasNoObject() {

    when(amazonS3.getObject(isA(GetObjectRequest.class))).thenReturn(null);
    Map<String, ViolationMetaData> map = processor.getCurrentlyBlockedIpsAndDateViolatedMap(FAKE_BUCKET_NAME);
    assertTrue("The map should be empty", map.size() == 0);
}