@Test
public void getMetadata() throws Exception {

    when(driveDataStreams.getMetadata(anyString())).thenReturn(Single.just(driveFile));
    final TestObserver<File> testObserver = driveStreamsManager.getMetadata(anyString()).test();
    testObserver.assertValue(driveFile);
    testObserver.assertComplete();
    testObserver.assertNoErrors();
}