@Test
public void converts_asciidoc_to_asciidoc() throws IOException {

    //Given
    String originalAsciiDoc = IOUtils.toString(getClass().getResourceAsStream("/asciidoc/original/" + asciidocFile), StandardCharsets.UTF_8);
    String expectedAsciiDoc = IOUtils.toString(getClass().getResourceAsStream("/asciidoc/expected/" + asciidocFile), StandardCharsets.UTF_8);
    //When
    asciidoctor.javaConverterRegistry().register(AsciidocConverter.class, AsciidocConverter.NAME);
    String result = asciidoctor.convert(originalAsciiDoc, OptionsBuilder.options().backend(AsciidocConverter.NAME).headerFooter(false).asMap());
    //Then
    assertEquals(expectedAsciiDoc, result);
}