@Test
public void visitTest() throws CluecumberPluginException {

    when(allTagsPageRenderer.getRenderedContent(any(), any())).thenReturn("MyRenderedTags");
    when(allScenariosPageRenderer.getRenderedContentByTagFilter(any(), any(), any())).thenReturn("MyRenderedScenarios");
    tagVisitor.visit(getAllScenarioPageCollection());
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedTags", "dummyPath/pages/tag-summary.html");
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedScenarios", "dummyPath/pages/tag-scenarios/tag_myTag.html");
}