dbStorage.addEquivalence(new Equivalence(new Revision("1", "int"), new Revision("1", "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));
}
/**
* Bookkeeping for codebases different at head and migrated revs.
*/