@Test
void createFileWithNamespace() throws IOException {

    Path path = Paths.get(rootProjectDir.getRoot().toPath().toString(), "test.xml");
    DocumentFileUtils.INSTANCE.createFile(sampleElement(), path, true);
    assertTrue(path.toFile().exists());
    String content = readFileToString(path.toFile(), Charset.defaultCharset());
    assertNotNull(content);
    assertTrue(content.contains("xmlns:l7"));
    assertTrue(content.contains("http://ns.l7tech.com/2010/04/gateway-management"));
}