assertEquals(MigrationState.SUCCESS, migrationInfoService.all()[0].getState());
assertEquals(MigrationState.SUCCESS, migrationInfoService.all()[1].getState());
assertEquals(2, migrationInfoService.all().length);
assertEquals(0, migrationInfoService.pending().length);
}
<BUG>private ResolvedMigration createAvailableMigration(int version) {
</BUG>
ResolvedMigrationImpl migration = new ResolvedMigrationImpl();
migration.setVersion(MigrationVersion.fromVersion(Integer.toString(version)));
migration.setDescription("abc");

assertEquals(MigrationState.SUCCESS, migrationInfoService.all()[0].getState());
assertEquals(MigrationState.SUCCESS, migrationInfoService.all()[1].getState());
assertEquals(2, migrationInfoService.all().length);
assertEquals(0, migrationInfoService.pending().length);
}
private ResolvedMigration createResolvedMigration(int version) {
ResolvedMigrationImpl migration = new ResolvedMigrationImpl();
migration.setVersion(MigrationVersion.fromVersion(Integer.toString(version)));
migration.setDescription("abc");
