@Test
public void onCreate() {

    final TableDefaultsCustomizer customizer = mock(TableDefaultsCustomizer.class);
    mPaymentMethodsTable.onCreate(mSQLiteDatabase, customizer);
    verify(mSQLiteDatabase, atLeastOnce()).execSQL(mSqlCaptor.capture());
    verify(customizer).insertPaymentMethodDefaults(mPaymentMethodsTable);
    final String creatingTable = mSqlCaptor.getValue();
    assertTrue(creatingTable.contains("CREATE TABLE paymentmethods"));
    assertTrue(creatingTable.contains("id INTEGER PRIMARY KEY AUTOINCREMENT"));
    assertTrue(creatingTable.contains("method TEXT"));
    assertTrue(creatingTable.contains("drive_sync_id TEXT"));
    assertTrue(creatingTable.contains("drive_is_synced BOOLEAN DEFAULT 0"));
    assertTrue(creatingTable.contains("drive_marked_for_deletion BOOLEAN DEFAULT 0"));
    assertTrue(creatingTable.contains("last_local_modification_time DATE"));
    assertTrue(creatingTable.contains("custom_order_id INTEGER DEFAULT 0"));
    assertTrue(creatingTable.contains("uuid TEXT"));
    assertTrue(creatingTable.contains("expenseable BOOLEAN DEFAULT 0"));
}