/**
  * Tests if report can be generated without errors. The {@link SinkStub} stubs the {@link Sink}
  * class.
  *
  * @throws MavenReportException
  */
 public void testDoGenerateReport() throws MavenReportException {
   ReportConfigStub config = new ReportConfigStub();
   List plugins = Collections.singletonList(new ChronosHistogramPlugin(samples));
   ReportGenerator gen = new ReportGenerator(bundle, config, new GraphGenerator(plugins));
   gen.doGenerateReport(new SinkStub(), samples);
 }