@Test
public void processContentScheme() {

    final IntentImportResult result = new IntentImportResult(Uri.parse("content://uri"), FileType.Image);
    when(intentImportProcessor.process(intent)).thenReturn(Maybe.just(result));
    final TestObserver<UiIndicator<IntentImportResult>> testObserver1 = interactor.process(intent).test();
    testObserver1.awaitTerminalEvent();
    testObserver1.assertValues(UiIndicator.idle(), UiIndicator.success(result))
            .assertComplete()
            .assertNoErrors();
    // Verify that we only get this result once
    final TestObserver<UiIndicator<IntentImportResult>> testObserver2 = interactor.process(intent).test();
    testObserver2.awaitTerminalEvent();
    testObserver2.assertValue(UiIndicator.idle())
            .assertComplete()
            .assertNoErrors();
    verifyZeroInteractions(permissionRequester);
}