### Question:
CopyPopupPresenter { public void errorDuringProcessing(final String message) { view.errorOnTemplateNameFromGroup(message); } @Inject  CopyPopupPresenter(final View view); @PostConstruct void init(); View getView(); void copy(final ParameterizedCommand<String> command); void errorDuringProcessing(final String message); void save(); void hide();  }### Answer:
@Test public void testErrorOnTemplateNameFromGroup() { final String errorMessage = "errorMessage"; presenter.errorDuringProcessing( errorMessage ); verify( view ).errorOnTemplateNameFromGroup( errorMessage ); }