@Test public void testUpdateMigration() { Migration update = mock(Migration.class); migratron.updateMigration(update); migratron.migrate(); verify(update,times(1)).migrate(eq(Robolectric.application)); }
public void updateMigration(Migration update) { updateMigration = update; }
Migratron { public void updateMigration(Migration update) { updateMigration = update; } }
Migratron { public void updateMigration(Migration update) { updateMigration = update; }  }
Migratron { public void updateMigration(Migration update) { updateMigration = update; }  void addMigration(int versionCode,Migration migration); void migrate(); void updateMigration(Migration update); }
Migratron { public void updateMigration(Migration update) { updateMigration = update; }  void addMigration(int versionCode,Migration migration); void migrate(); void updateMigration(Migration update); static final String LAST_MIGRATION_VERSION; static final String LAST_APP_VERSION; }