@Test public void testContentRendering() throws CluecumberPluginException { Template template = mock(Template.class); Report report = new Report(); List<Report> reports = new ArrayList<>(); reports.add(report); AllFeaturesPageCollection allFeaturesPageCollection = new AllFeaturesPageCollection(reports, ""); allFeaturesPageRenderer.getRenderedContent(allFeaturesPageCollection, template); }
public String getRenderedContent( final AllFeaturesPageCollection allFeaturesPageCollection, final Template template) throws CluecumberPluginException { addChartJsonToReportDetails(allFeaturesPageCollection); return processedContent(template, allFeaturesPageCollection); }
AllFeaturesPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllFeaturesPageCollection allFeaturesPageCollection, final Template template) throws CluecumberPluginException { addChartJsonToReportDetails(allFeaturesPageCollection); return processedContent(template, allFeaturesPageCollection); } }
AllFeaturesPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllFeaturesPageCollection allFeaturesPageCollection, final Template template) throws CluecumberPluginException { addChartJsonToReportDetails(allFeaturesPageCollection); return processedContent(template, allFeaturesPageCollection); } @Inject  AllFeaturesPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration
    ); }
AllFeaturesPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllFeaturesPageCollection allFeaturesPageCollection, final Template template) throws CluecumberPluginException { addChartJsonToReportDetails(allFeaturesPageCollection); return processedContent(template, allFeaturesPageCollection); } @Inject  AllFeaturesPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration
    ); String getRenderedContent(
            final AllFeaturesPageCollection allFeaturesPageCollection, final Template template); }
AllFeaturesPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllFeaturesPageCollection allFeaturesPageCollection, final Template template) throws CluecumberPluginException { addChartJsonToReportDetails(allFeaturesPageCollection); return processedContent(template, allFeaturesPageCollection); } @Inject  AllFeaturesPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration
    ); String getRenderedContent(
            final AllFeaturesPageCollection allFeaturesPageCollection, final Template template);  }