@Test public void sendReport() { new AnalysisReporter(place, reportScreen).sendReport(new HashSet<>()); verify(reportScreen).showReport(analysisReportArgumentCaptor.capture()); final AnalysisReport report = analysisReportArgumentCaptor.getValue(); assertTrue(report.getAnalysisData().isEmpty()); assertEquals(place, report.getPlace()); }
public void sendReport(final AnalysisReport report) { reportScreen.showReport(report); }
AnalysisReporter implements Reporter { public void sendReport(final AnalysisReport report) { reportScreen.showReport(report); } }
AnalysisReporter implements Reporter { public void sendReport(final AnalysisReport report) { reportScreen.showReport(report); } AnalysisReporter(final PlaceRequest place,
                            final AnalysisReportScreen reportScreen); }
AnalysisReporter implements Reporter { public void sendReport(final AnalysisReport report) { reportScreen.showReport(report); } AnalysisReporter(final PlaceRequest place,
                            final AnalysisReportScreen reportScreen); void sendReport(final AnalysisReport report); @Override void sendReport(final Set<Issue> issues); @Override void sendStatus(final Status status); @Override void activate(); }
AnalysisReporter implements Reporter { public void sendReport(final AnalysisReport report) { reportScreen.showReport(report); } AnalysisReporter(final PlaceRequest place,
                            final AnalysisReportScreen reportScreen); void sendReport(final AnalysisReport report); @Override void sendReport(final Set<Issue> issues); @Override void sendStatus(final Status status); @Override void activate();  }