AbstractScenarioSimulationEditorKogitoScreen implements KogitoScreen { @WorkbenchPartView public MultiPageEditorContainerView getWidget() { return scenarioSimulationEditorKogitoWrapper.getWidget(); }  @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 getWidget() { abstractScenarioSimulationEditorKogitoScreenSpy.getWidget(); verify(scenarioSimulationEditorKogitoWrapperMock, times(1)).getWidget(); }