@Test public void onCancelClick() { popupView.onCancelClick(mouseEventMock); verify(popupView, times(1)).hide(); }
@EventHandler("cancel-button") public void onCancelClick(final @ForEvent("click") MouseEvent event) { hide(); }
AbstractScenarioPopupView implements AbstractScenarioPopup { @EventHandler("cancel-button") public void onCancelClick(final @ForEvent("click") MouseEvent event) { hide(); } }
AbstractScenarioPopupView implements AbstractScenarioPopup { @EventHandler("cancel-button") public void onCancelClick(final @ForEvent("click") MouseEvent event) { hide(); }  }
AbstractScenarioPopupView implements AbstractScenarioPopup { @EventHandler("cancel-button") public void onCancelClick(final @ForEvent("click") MouseEvent event) { hide(); }  @PostConstruct void init(); @Override void show(final String mainTitleText,
                     final String okButtonText,
                     final Command okCommand); @Override HTMLElement getElement(); @Override void hide(); @EventHandler("ok-button") void onOkClick(final @ForEvent("click") MouseEvent event); @EventHandler("cancel-button") void onCancelClick(final @ForEvent("click") MouseEvent event); }
AbstractScenarioPopupView implements AbstractScenarioPopup { @EventHandler("cancel-button") public void onCancelClick(final @ForEvent("click") MouseEvent event) { hide(); }  @PostConstruct void init(); @Override void show(final String mainTitleText,
                     final String okButtonText,
                     final Command okCommand); @Override HTMLElement getElement(); @Override void hide(); @EventHandler("ok-button") void onOkClick(final @ForEvent("click") MouseEvent event); @EventHandler("cancel-button") void onCancelClick(final @ForEvent("click") MouseEvent event);  }