@Test public void init() { popupView.init(); verify(cancelButtonMock, times(1)).setText(anyString()); }
@PostConstruct public void init() { cancelButton.setText(translationService.getTranslation(Constants.ConfirmPopup_Cancel)); }
AbstractScenarioPopupView implements AbstractScenarioPopup { @PostConstruct public void init() { cancelButton.setText(translationService.getTranslation(Constants.ConfirmPopup_Cancel)); } }
AbstractScenarioPopupView implements AbstractScenarioPopup { @PostConstruct public void init() { cancelButton.setText(translationService.getTranslation(Constants.ConfirmPopup_Cancel)); }  }
AbstractScenarioPopupView implements AbstractScenarioPopup { @PostConstruct public void init() { cancelButton.setText(translationService.getTranslation(Constants.ConfirmPopup_Cancel)); }  @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 { @PostConstruct public void init() { cancelButton.setText(translationService.getTranslation(Constants.ConfirmPopup_Cancel)); }  @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);  }