@Test
public void onUpgradeFromV18() {

    final int oldVersion = 18;
    final int newVersion = DatabaseHelper.DATABASE_VERSION;
    final TableDefaultsCustomizer customizer = mock(TableDefaultsCustomizer.class);
    mReceiptsTable.onUpgrade(mSQLiteDatabase, oldVersion, newVersion, customizer);
    verifyZeroInteractions(customizer);
    verifyV1Upgrade(never());
    verifyV3Upgrade(never());
    verifyV4Upgrade(never());
    verifyV7Upgrade(never());
    verifyV11Upgrade(never());
    verifyV12Upgrade(never());
    verifyV13Upgrade(never());
    verifyV14Upgrade(never());
    verifyV15Upgrade(never());
    verifyV18Upgrade(times(1));
    verifyV19Upgrade(times(1));
    verifyV20Upgrade(times(1));
}