/** * We need to run our migration to ensure that we are on the current version, and everything still * functions correctly */ @Before public void setMigrationVersion() { existingVersion = migrationInfoSerialization.getVersion(CollectionMigrationPlugin.PLUGIN_NAME); // set our migration version to be v1 migrationInfoSerialization.setVersion( CollectionMigrationPlugin.PLUGIN_NAME, mvccEntitySerializationStrategyV1.getImplementationVersion()); }
@After public void reSetMigrationVersion() { migrationInfoSerialization.setVersion(CollectionMigrationPlugin.PLUGIN_NAME, existingVersion); }