OcrInformationalTooltipInteractor { public void markTooltipInteraction() { stateTracker.setShouldShowOcrInfo(false); analytics.record(Events.Ocr.OcrInfoTooltipDismiss); } @Inject  OcrInformationalTooltipInteractor(@NonNull Analytics analytics,
                                             @NonNull OcrInformationalTooltipStateTracker stateTracker,
                                             @NonNull OcrPurchaseTracker ocrPurchaseTracker,
                                             @NonNull IdentityManager identityManager,
                                             @NonNull ConfigurationManager configurationManager); @VisibleForTesting  OcrInformationalTooltipInteractor(@NonNull Analytics analytics,
                                      @NonNull OcrInformationalTooltipStateTracker stateTracker,
                                      @NonNull OcrPurchaseTracker ocrPurchaseTracker,
                                      @NonNull IdentityManager identityManager,
                                      @NonNull ConfigurationManager configurationManager,
                                      @NonNull Scheduler scheduler); @SuppressLint("CheckResult") @SuppressWarnings("ResultOfMethodCallIgnored") void initialize(); @NonNull Observable<OcrTooltipMessageType> getShowOcrTooltip(); void markTooltipInteraction();  }
@Test public void dismissTooltip() { interactor.markTooltipInteraction(); verify(stateTracker).setShouldShowOcrInfo(false); }