Arrays.asList(MockChangeSource.newChange(0),
MockChangeSource.newChange(1), null,
MockChangeSource.newChange(2), null, null,
MockChangeSource.newChange(3),
MockChangeSource.newChange(4));
ChangeSource changeSource = new MockChangeSource(changes);
CheckpointAndChangeQueue q = new CheckpointAndChangeQueue(changeSource,
persistDir, internalFactory, clientFactory);
q.setMaximumQueueSize(5);
q.start(null);
String checkpoint = null;