### Question:
ConsistencyEventChangesLogger { @VisibleForTesting NotConsistentEventChanges build(EventChanges changes) { Map<EventObmId, Collection<Object>> allEntries = buildAllEntriesMultimap(changes); Map<EventObmId, Collection<Object>> duplicatesEntries = Maps.filterEntries(allEntries, alLeastTwoElements()); return new NotConsistentEventChanges(duplicatesEntries); } @Inject @VisibleForTesting  ConsistencyEventChangesLogger(); void log(Logger logger, EventChanges changes);  }### Answer:
@Test public void testOnRealEventChangesDump() throws Exception { InputStream dumpStream = ClassLoader.getSystemClassLoader().getResourceAsStream("data/notConsistentEventChanges.xml"); Document dump = DOMUtils.parse(dumpStream); EventChanges eventChanges = new CalendarItemsParser().parseChanges(dump); NotConsistentEventChanges duplicateChanges = consistencyEventChangesLogger.build(eventChanges); assertThat(duplicateChanges.getDuplicatesEntries()).isEmpty(); }