@Test
public void getShowOcrTooltipForLotsOfPurchasesWhenSetToShowTooltip() {

    when(stateTracker.shouldShowOcrInfo()).thenReturn(Single.just(true));
    when(ocrPurchaseTracker.getRemainingScans()).thenReturn(OcrInformationalTooltipInteractor.SCANS_LEFT_TO_INFORM + 1);
    when(ocrPurchaseTracker.hasAvailableScans()).thenReturn(true);
    when(identityManager.isLoggedIn()).thenReturn(true);
    TestObserver<OcrTooltipMessageType> testObserver = interactor.getShowOcrTooltip().test();
    testObserver.awaitTerminalEvent();
    testObserver.assertNoValues();
    testObserver.assertComplete();
    testObserver.assertNoErrors();
    verify(stateTracker, never()).setShouldShowOcrInfo(anyBoolean());
}