assertListenerNotified(null, modified, type);
}
public void assertListenerNotified(IFileStore initial, IFileStore modified, ChangeType type) {
assertEquals(1, events.size());
ChangeEvent event = events.get(0);
assertEquals(type, event.getChangeType());
assertEquals(initial, event.getInitialLocation());
assertEquals(modified, event.getModifiedItem());
}