    @Test
    public void shouldRenderApi() throws IOException {

        HtmlConfiguration config = new HtmlConfiguration();
        config.setSourceFile("src/test/resources/raml/simpleobject.raml");
        config.setTargetDir("target/html/simpleobject");
        HtmlGenerator generator = new HtmlGenerator(config);
        generator.generate();

        verifyTargetDir(config);
    }