@Test public void getRenderedContentParametersTest() throws CluecumberPluginException { Template template = mock(Template.class); AllScenariosPageCollection allScenariosPageCollection = new AllScenariosPageCollection(""); Map<String, String> customParameters = new HashMap<>(); customParameters.put("key", "value"); when(propertyManager.getCustomParameters()).thenReturn(customParameters); allScenariosPageRenderer.getRenderedContent(allScenariosPageCollection, template); }
public String getRenderedContent( final AllScenariosPageCollection allScenariosPageCollection, final Template template) throws CluecumberPluginException { AllScenariosPageCollection allScenariosPageCollectionClone = getAllScenariosPageCollectionClone(allScenariosPageCollection); addChartJsonToReportDetails(allScenariosPageCollectionClone); addCustomParametersToReportDetails(allScenariosPageCollectionClone); return processedContent(template, allScenariosPageCollectionClone); }
AllScenariosPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllScenariosPageCollection allScenariosPageCollection, final Template template) throws CluecumberPluginException { AllScenariosPageCollection allScenariosPageCollectionClone = getAllScenariosPageCollectionClone(allScenariosPageCollection); addChartJsonToReportDetails(allScenariosPageCollectionClone); addCustomParametersToReportDetails(allScenariosPageCollectionClone); return processedContent(template, allScenariosPageCollectionClone); } }
AllScenariosPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllScenariosPageCollection allScenariosPageCollection, final Template template) throws CluecumberPluginException { AllScenariosPageCollection allScenariosPageCollectionClone = getAllScenariosPageCollectionClone(allScenariosPageCollection); addChartJsonToReportDetails(allScenariosPageCollectionClone); addCustomParametersToReportDetails(allScenariosPageCollectionClone); return processedContent(template, allScenariosPageCollectionClone); } @Inject  AllScenariosPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration,
            final PropertyManager propertyManager
    ); }
AllScenariosPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllScenariosPageCollection allScenariosPageCollection, final Template template) throws CluecumberPluginException { AllScenariosPageCollection allScenariosPageCollectionClone = getAllScenariosPageCollectionClone(allScenariosPageCollection); addChartJsonToReportDetails(allScenariosPageCollectionClone); addCustomParametersToReportDetails(allScenariosPageCollectionClone); return processedContent(template, allScenariosPageCollectionClone); } @Inject  AllScenariosPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration,
            final PropertyManager propertyManager
    ); String getRenderedContent(
            final AllScenariosPageCollection allScenariosPageCollection, final Template template); String getRenderedContentByTagFilter(
            final AllScenariosPageCollection allScenariosPageCollection,
            final Template template,
            final Tag tag); String getRenderedContentByStepFilter(
            final AllScenariosPageCollection allScenariosPageCollection,
            final Template template,
            final Step step); String getRenderedContentByFeatureFilter(
            final AllScenariosPageCollection allScenariosPageCollection,
            final Template template,
            final Feature feature); }
AllScenariosPageRenderer extends PageWithChartRenderer { public String getRenderedContent( final AllScenariosPageCollection allScenariosPageCollection, final Template template) throws CluecumberPluginException { AllScenariosPageCollection allScenariosPageCollectionClone = getAllScenariosPageCollectionClone(allScenariosPageCollection); addChartJsonToReportDetails(allScenariosPageCollectionClone); addCustomParametersToReportDetails(allScenariosPageCollectionClone); return processedContent(template, allScenariosPageCollectionClone); } @Inject  AllScenariosPageRenderer(
            final ChartJsonConverter chartJsonConverter,
            final ChartConfiguration chartConfiguration,
            final PropertyManager propertyManager
    ); String getRenderedContent(
            final AllScenariosPageCollection allScenariosPageCollection, final Template template); String getRenderedContentByTagFilter(
            final AllScenariosPageCollection allScenariosPageCollection,
            final Template template,
            final Tag tag); String getRenderedContentByStepFilter(
            final AllScenariosPageCollection allScenariosPageCollection,
            final Template template,
            final Step step); String getRenderedContentByFeatureFilter(
            final AllScenariosPageCollection allScenariosPageCollection,
            final Template template,
            final Feature feature);  }