PopUpCoachMarkPresenter { public void onShimClicked() { if (mPresentation != null) { mPresentation.closeCoachMarkDialog(); } } PopUpCoachMarkPresenter(final IStringResourceProvider stringResourceProvider,
                                   final IDimensionResourceProvider dimensionResourceProvider,
                                   final ITypeFaceProvider typeFaceProvider,
                                   final IScreenInfoProvider screenInfoProvider); void onCreate(CoachMarkBuilder coachMarkBuilder); void onCreateView(IPopUpCoachMarkPresentation popUpCoachMarkPresentation); void onViewCreated(); void onDestroyView(); void onDestroy(); void onOkButtonClicked(); void onShimClicked();  }
@Test public void onShimClicked() throws Exception { mPopUpCoachMarkPresenter.onShimClicked(); Mockito.verify(mPopUpCoachMarkPresentation, Mockito.times(1)).closeCoachMarkDialog(); Mockito.verifyNoMoreInteractions(mPopUpCoachMarkPresentation); }