@SuppressWarnings( "serial" )
static ChangeSet create( String journalId,
int changesCount ) throws InterruptedException {
List<Change> changes = new ArrayList<Change>(changesCount);
for (int i = 0; i < changesCount; i++) {
changes.add(new Change() {});
}
// sleep 1 second to make sure that successive calls won't have the same TS
Thread.sleep(1);
return new TestChangeSet(changes, journalId);
}