@Test
void createFile() throws IOException {

    Path path = Paths.get(rootProjectDir.getRoot().toPath().toString(), "test.xml");
    DocumentFileUtils.INSTANCE.createFile(sampleElement(), path);
    assertTrue(path.toFile().exists());
    assertNotNull(readFileToString(path.toFile(), Charset.defaultCharset()));
}