@Test
@org.jvnet.hudson.test.Issue("JENKINS-55679")
void shouldRenderXmlFiles() {

    SourcePrinter printer = new SourcePrinter();
    IssueBuilder builder = new IssueBuilder();
    Issue issue = builder.build();
    Document document = Jsoup.parse(printer.render(asStream("format.xml"), issue,
            NO_DESCRIPTION, ICON_URL));
    String expectedFile = toString("format.xml");
    assertThat(document.text()).isEqualToIgnoringWhitespace(expectedFile);
    Elements pre = document.getElementsByTag("pre");
    assertThat(pre.text()).isEqualToIgnoringWhitespace(expectedFile);
}