### Question:
NotifyingPersistenceDecorator implements EventStorePersistence { @Override public Iterator<ChangeSet> allChanges(String bucketId) { return persistence.allChanges(bucketId); } NotifyingPersistenceDecorator(
            EventStorePersistence persistence,
            EventStoreCommitNotifier notifier); @Override boolean existsStream(String bucketId, String streamId); @Override Iterator<ChangeSet> allChanges(String bucketId); @Override Iterator<ChangeSet> getFrom(String bucketId, String streamId, long minVersion, long maxVersion); @Override void persistChanges(ChangeSet changeSet);  }### Answer:
@Test public void test_allChanges() { NotifyingPersistenceDecorator decorator = new NotifyingPersistenceDecorator(this, null); assertNull(this.changeSetIterator); assertEquals(decorator.allChanges("DUMMY"), this.changeSetIterator); }