AbstractScenarioSimulationEditorKogitoScreen implements KogitoScreen { @OnStartup public void onStartup(final PlaceRequest place) { scenarioSimulationEditorKogitoWrapper.onStartup(place); }  @OnStartup void onStartup(final PlaceRequest place); @OnMayClose boolean mayClose(); @WorkbenchPartTitle String getTitleText(); @WorkbenchPartTitleDecoration IsWidget getTitle(); @WorkbenchPartView MultiPageEditorContainerView getWidget(); @WorkbenchMenu void setMenus(final Consumer<Menus> menusConsumer); @GetContent Promise getContent(); @SetContent Promise setContent(String fullPath, String value); @IsDirty boolean isDirty(); static final String TITLE; }
@Test public void onStartup() { abstractScenarioSimulationEditorKogitoScreenSpy.onStartup(placeRequestMock); verify(scenarioSimulationEditorKogitoWrapperMock, times(1)).onStartup(eq(placeRequestMock)); }