@Test
public void onCreate() {

    final TableDefaultsCustomizer customizer = mock(TableDefaultsCustomizer.class);
    mDistanceTable.onCreate(mSQLiteDatabase, customizer);
    verify(mSQLiteDatabase).execSQL(mSqlCaptor.capture());
    verifyZeroInteractions(customizer);
    assertTrue(mSqlCaptor.getValue().contains("CREATE TABLE distance")); // Table name
    assertTrue(mSqlCaptor.getValue().contains("id INTEGER PRIMARY KEY AUTOINCREMENT"));
    assertTrue(mSqlCaptor.getValue().contains("parentKey INTEGER"));
    assertTrue(mSqlCaptor.getValue().contains("distance DECIMAL(10, 2)"));
    assertTrue(mSqlCaptor.getValue().contains("location TEXT"));
    assertTrue(mSqlCaptor.getValue().contains("date DATE"));
    assertTrue(mSqlCaptor.getValue().contains("timezone TEXT"));
    assertTrue(mSqlCaptor.getValue().contains("comment TEXT"));
    assertTrue(mSqlCaptor.getValue().contains("rate DECIMAL(10, 2)"));
    assertTrue(mSqlCaptor.getValue().contains("rate_currency TEXT"));
    assertTrue(mSqlCaptor.getValue().contains("drive_sync_id TEXT"));
    assertTrue(mSqlCaptor.getValue().contains("drive_is_synced BOOLEAN DEFAULT 0"));
    assertTrue(mSqlCaptor.getValue().contains("drive_marked_for_deletion BOOLEAN DEFAULT 0"));
    assertTrue(mSqlCaptor.getValue().contains("last_local_modification_time DATE"));
    assertTrue(mSqlCaptor.getValue().contains("entity_uuid TEXT"));
    assertTrue(mSqlCaptor.getValue().contains("location_hidden_auto_complete BOOLEAN DEFAULT 0"));
    assertTrue(mSqlCaptor.getValue().contains("comment_hidden_auto_complete BOOLEAN DEFAULT 0"));
}