AbstractScenarioSimulationEditorKogitoScreen implements KogitoScreen { @SetContent public Promise setContent(String fullPath, String value) { return scenarioSimulationEditorKogitoWrapper.setContent(fullPath, value); }  @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 setContent() { abstractScenarioSimulationEditorKogitoScreenSpy.setContent("fullPath", "content"); verify(scenarioSimulationEditorKogitoWrapperMock, times(1)).setContent(eq("fullPath"), eq("content")); }