@Test
public void visitTest() throws CluecumberPluginException {

    when(allScenariosPageRenderer.getRenderedContent(any(), any())).thenReturn("MyRenderedScenarios");
    when(scenarioDetailsPageRenderer.getRenderedContent(any(), any())).thenReturn("MyRenderedScenarioDetails");
    scenarioVisitor.visit(getAllScenarioPageCollection());
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedScenarios", "dummyPath/pages/scenario-summary.html");
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedScenarios", "dummyPath/pages/scenario-sequence.html");
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedScenarioDetails", "dummyPath/pages/scenario-detail/scenario_0.html");
}