@Test
public void rename() throws Exception {

    final String newFileName = "Test Name";
    when(driveDataStreams.renameBackup(identifier, newFileName)).thenReturn(Single.just(driveFile));
    final TestObserver<File> testObserver = driveStreamsManager.renameBackup(identifier, newFileName).test();
    testObserver.assertValue(driveFile);
    testObserver.assertComplete();
    testObserver.assertNoErrors();
}