@Test
public void visitTest() throws CluecumberPluginException {

    when(allStepsPageRenderer.getRenderedContent(any(), any())).thenReturn("MyRenderedSteps");
    when(allScenariosPageRenderer.getRenderedContentByStepFilter(any(), any(), any())).thenReturn("MyRenderedScenarios");
    stepVisitor.visit(getAllScenarioPageCollection());
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedSteps", "dummyPath/pages/step-summary.html");
    verify(fileIo, times(1))
            .writeContentToFile("MyRenderedScenarios", "dummyPath/pages/step-scenarios/step_31.html");
}