ScenarioSimulationBusinessCentralDocksHandler extends AbstractScenarioSimulationDocksHandler { public void updateTestRunnerReportingPanelResult(TestResultMessage testResultMessage) { testRunnerReportingPanelWrapper.onTestRun(testResultMessage); }  @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 updateTestRunnerReportingPanelResult() { TestResultMessage testResultMessageMock = mock(TestResultMessage.class); scenarioSimulationBusinessCentralDocksHandlerSpy.updateTestRunnerReportingPanelResult(testResultMessageMock); verify(testRunnerReportingPanelWrapperMock, times(1)).onTestRun(eq(testResultMessageMock)); }