DeletePopUpPresenter { public void show(final ParameterizedCommand<String> command) { show(null, command); } @Inject  DeletePopUpPresenter(View view,
                                ToggleCommentPresenter toggleCommentPresenter); @PostConstruct void setup(); void show(final ParameterizedCommand<String> command); void show(final Validator validator,
                     final ParameterizedCommand<String> command); void cancel(); ParameterizedCommand<String> getCommand(); boolean isOpened(); void delete(); void setPrompt(final String prompt); void setCommentIsHidden(final boolean hidden); ToggleCommentPresenter getToggleCommentPresenter();  }
@Test public void testShow() throws Exception { presenter.show(validator, command); verify(view).show(); assertEquals(validator, presenter.getValidator()); assertEquals(command, presenter.getCommand()); }