@Test
public void getRenderedContentByTagFilterTest() throws CluecumberPluginException {

    Template template = mock(Template.class);
    AllScenariosPageCollection allScenariosPageCollection = new AllScenariosPageCollection("");
    Tag tag = new Tag();
    tag.setName("test");
    Report report = new Report();
    report.setFeatureIndex(12);
    List<Element> elements = new ArrayList<>();
    Element element = new Element();
    List<Tag> tags = new ArrayList<>();
    tags.add(tag);
    element.setTags(tags);
    elements.add(element);
    report.setElements(elements);
    Report[] reportList = new Report[]{report};
    allScenariosPageCollection.addReports(reportList);
    allScenariosPageRenderer.getRenderedContentByTagFilter(allScenariosPageCollection, template, tag);
}