DeletePopupView extends AbstractScenarioConfirmationPopupView implements DeletePopup { @Override public void show(final String mainTitleText, final String mainQuestionText, final String text1Text, final String textQuestionText, final String textDangerText, final String okDeleteButtonText, final Command okDeleteCommand) { textDanger.setInnerText(textDangerText); super.show(mainTitleText, mainQuestionText, text1Text, textQuestionText, okDeleteButtonText, okDeleteCommand); }  @Override void show(final String mainTitleText,
                     final String mainQuestionText,
                     final String text1Text,
                     final String textQuestionText,
                     final String textDangerText,
                     final String okDeleteButtonText,
                     final Command okDeleteCommand);  }
@Test public void show() { ((DeletePopupView) popupView).show(MAIN_TITLE_TEXT, MAIN_QUESTION_TEXT, TEXT1_TEXT, TEXT_QUESTION_TEXT, TEXT_DANGER_TEXT, OKDELETE_BUTTON_TEXT, okDeleteCommandMock); verifyShow(MAIN_TITLE_TEXT, MAIN_QUESTION_TEXT, TEXT1_TEXT, TEXT_QUESTION_TEXT); verify(textDangerMock, times(1)).setInnerText(eq(TEXT_DANGER_TEXT)); }