@Test
public void showImportInfoForPdf() {

    when(intentImportProcessor.getLastResult()).thenReturn(Observable.just(Optional.of(new IntentImportResult(fakeUri, FileType.Pdf))));
    manager.needToShowImportInfo()
            .test()
            .assertComplete()
            .assertNoErrors()
            .assertValueCount(1)
            .assertValue(true);
}