CoverageReportPresenter extends AbstractSubDockPresenter<CoverageReportView> implements CoverageReportView.Presenter { @Override public void reset() { view.reset(); resetDownload(); } CoverageReportPresenter(); @Inject  CoverageReportPresenter(CoverageReportView view,
                                   CoverageReportDonutPresenter coverageReportDonutPresenter,
                                   CoverageElementPresenter coverageElementPresenter,
                                   CoverageScenarioListPresenter coverageScenarioListPresenter); @PostConstruct void init(); @Override void reset(); @Override void populateCoverageReport(Type type, SimulationRunMetadata simulationRunMetadata); @Override void onDownloadReportButtonClicked(); @Override void setDownloadReportCommand(Command downloadReportCommand); static final int DEFAULT_PREFERRED_WIDTH; static final String IDENTIFIER; }
@Test public void resetTest() { presenterSpy.reset(); verify(coverageReportViewMock, times(1)).reset(); verify(presenterSpy, times(1)).resetDownload(); }