@Override
    public String getMapName() {
        if (mapName != null) {
            return mapName;
        }
        if (events.isEmpty()) {
            return null;
        }
        // This batch should all relate to a single map
        QueryCacheEventData next = events.iterator().next();
        mapName = next.getMapName();
        return mapName;
    }
@Test
    public void testGetMapName() {
        assertEquals("myMap", batchEventData.getMapName());
    }