@Test
public void visitTest() throws CluecumberPluginException {

    when(allFeaturesPageRenderer.getRenderedContent(any(), any())).thenReturn("MyRenderedFeatures");
    when(allScenariosPageRenderer.getRenderedContentByFeatureFilter(any(), any(), any())).thenReturn("MyRenderedScenarios");
    featureVisitor.visit(getAllScenarioPageCollection());
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedFeatures", "dummyPath/pages/feature-summary.html");
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedScenarios", "dummyPath/pages/feature-scenarios/feature_12.html");
}