@Test
public void syncDatabaseForTheFirstTime() {

    final Identifier identifier = new Identifier("newId");
    when(mDriveStreamsManager.uploadFileToDrive(mDatabaseFile)).thenReturn(Single.just(identifier));
    mDriveDatabaseManager.syncDatabase();
    verify(mGoogleDriveSyncMetadata).setDatabaseSyncIdentifier(identifier);
}