control.replay();
assertEquals(0, d.perform());
control.verify();
// expected db at end of call to bookkeep
DbStorage dbStorage = new DbStorage();
dbStorage.addEquivalence(new Equivalence(
new Revision("migrated_from", "int"), new Revision("migrated_to", "pub")));
dbStorage.addMigration(new SubmittedMigration(
new Revision("migrated_from", "int"), new Revision("migrated_to", "pub")));
FileDb expectedDb = new FileDb(dbStorage);
assertEquals(expectedDb.toJsonString(), fileSystem.fileToString(DB_FILE));
}