private ResolvedMigration createAvailableMigration(int version){
  ResolvedMigration migration=new ResolvedMigration();
  migration.setVersion(MigrationVersion.fromVersion(Integer.toString(version)));
  migration.setDescription("abc");
  migration.setScript("x");
  migration.setType(MigrationType.CQL);
  return migration;
}

private ResolvedMigration createAvailableMigration ( int version ) { ResolvedMigration migration = new ResolvedMigration ( ) ; migration . setVersion ( MigrationVersion . fromVersion ( Integer . toString ( version ) ) ) ; migration . setDescription ( "abc" ) ; migration . setScript ( "x" ) ; migration . setType ( MigrationType . CQL ) ; return migration ; }
creates a new available migration with this version .
