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