@Test
public void getErrors() throws InterruptedException {

    when(backupProvidersManager.getCriticalSyncErrorStream()).thenReturn(Observable.just(new CriticalSyncError(new Throwable(), errorType)));
    interactor.checkTooltipCauses()
            .test()
            .assertNoErrors()
            .assertValue(ReportTooltipUiIndicator.syncError(errorType));
}