AbstractScenarioPopupView implements AbstractScenarioPopup { @Override public void hide() { modal.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);  }
@Test public void hide() { popupView.hide(); verify(modalMock, times(1)).hide(); }