    @Test
    public void formatDocStringTest() {

        String expectedOutput = "Feature: featureName\n" +
                "\n" +
                "Scenario: scenarioName\n" +
                "Step 1\n" +
                "\"\"\"\n" +
                "DOCSTRING LINE 1\n" +
                "DOCSTRING LINE 2\n" +
                "\"\"\"\n" +
                "\n# Source feature: TESTPATH\n" +
                "# Generated by Cucable\n";

        String featureName = "Feature: featureName";
        String scenarioName = "Scenario: scenarioName";

        List<Step> steps = Collections.singletonList(new Step("Step 1", null, "DOCSTRING LINE 1\nDOCSTRING LINE 2"));

        String featureFilePath = "TESTPATH";
        SingleScenario singleScenario = new SingleScenario(featureName, featureFilePath, null, null, scenarioName, null, new ArrayList<>(), new ArrayList<>());
        singleScenario.setSteps(steps);

        String renderedFeatureFileContent = featureFileContentRenderer.getRenderedFeatureFileContent(singleScenario);

        // In a windows system, replace line separator "\r\n" with "\n".
        renderedFeatureFileContent = renderedFeatureFileContent.replaceAll("\\r\\n", "\n");

        assertThat(renderedFeatureFileContent, is(expectedOutput));
    }