{ /* Make recovery file that finishes 1st batch. */
ChangeSource changeSource = new MockChangeSource(6);
CheckpointAndChangeQueue q = new CheckpointAndChangeQueue(changeSource,
persistDirB, internalFactory, clientFactory);
q.setMaximumQueueSize(2);
q.start(null);
List<CheckpointAndChange> firstBatch = q.resume(null);
checkpoint = firstBatch.get(1).getCheckpoint().toString();
secondBatch = q.resume(checkpoint);
File recoveryFile = persistDirB.listFiles()[0];
recoveryFile.renameTo(new File(persistDir, recoveryFile.getName()));