public void add(QueryCacheEventData entry) {
        events.add(entry);
    }
@Test
    public void testAdd() {
        batchEventData.add(otherEventData);

        assertEquals(2, batchEventData.size());

        Collection<QueryCacheEventData> events = batchEventData.getEvents();
        assertContains(events, eventData);
        assertContains(events, otherEventData);
    }