ScenarioSimulationKogitoCreationPopupView extends AbstractScenarioPopupView implements ScenarioSimulationKogitoCreationPopup { @Override public void show(String mainTitleText, Command okCommand) { initialize(); super.show(mainTitleText, ScenarioSimulationEditorConstants.INSTANCE.createButton(), okCommand); }  @Override void show(String mainTitleText, Command okCommand); @Override ScenarioSimulationModel.Type getSelectedType(); @Override String getSelectedPath(); @EventHandler("dmn-button") void onDmnClick(final ClickEvent event); @EventHandler("rule-button") void onRuleClick(final ClickEvent event);  }
@Test public void show() { scenarioSimulationCreationPopupViewSpy.show(ScenarioSimulationEditorConstants.INSTANCE.createButton(), okCommandMock); verify(scenarioSimulationCreationPopupViewSpy, times(1)).initialize(); }