ReportDetails { public String getGeneratorName() { return String.format("%s version %s", PluginSettings.NAME, RenderingUtils.getPluginVersion()); } ReportDetails(); @SuppressWarnings("unused") String getChartJson(); void setChartJson(final String chartJson); String getDate(); String getGeneratorName();  }
@Test public void getGeneratorNameTest() { MatcherAssert.assertThat(reportDetails.getGeneratorName(), is("Cluecumber Report Plugin version unknown")); }