ScenarioSimulationBusinessCentralDocksHandler extends AbstractScenarioSimulationDocksHandler { @Override public void resetDocks() { super.resetDocks(); getCoverageReportPresenter().ifPresent(SubDockView.Presenter::reset); testRunnerReportingPanelWrapper.reset(); }  @Override Collection<UberfireDock> provideDocks(String perspectiveIdentifier); @Override void expandTestResultsDock(); @Override void resetDocks(); @Override void setScesimEditorId(String scesimEditorId); Optional<CoverageReportView.Presenter> getCoverageReportPresenter(); void updateTestRunnerReportingPanelResult(TestResultMessage testResultMessage); IsWidget getTestRunnerReportingPanelWidget(); static final String TEST_RUNNER_REPORTING_PANEL; }
@Test public void resetDocks() { scenarioSimulationBusinessCentralDocksHandlerSpy.resetDocks(); verify(testRunnerReportingPanelWrapperMock, times(1)).reset(); verify(coverageReportPresenterMock, times(1)).reset(); verify(testToolsPresenterMock, times(1)).reset(); verify(settingsPresenterMock, times(1)).reset(); verify(cheatSheetPresenterMock, times(1)).reset(); }