HaloMigration2 extends HaloDatabaseMigration { @Override public int getDatabaseVersion() { return VERSION; }  @Override void updateDatabase(@NonNull SQLiteDatabase database); @Override int getDatabaseVersion(); static final int VERSION; }
@Test public void thatEnsureVersionIsFirst() { assertThat(mMigration.getDatabaseVersion() == 1).isTrue(); }