ConfirmPopupPresenter implements ConfirmPopup.Presenter { @Override public void show(String mainTitleText, String mainText) { confirmPopupView.show(mainTitleText, mainText); }  @Override void show(String mainTitleText, String mainText); @Override void hide();  }
@Test public void show() { confirmPopupPresenter.show(MAIN_TITLE_TEXT, MAIN_TEXT); verify(confirmPopupViewMock, times(1)).show(eq(MAIN_TITLE_TEXT), eq(MAIN_TEXT)); }