@Test
public void testLoadString() throws Exception {

    Path path = Paths.get(XmlTest.class.getResource("xmltest/sampleXml.xml").toURI());
    String data = new String(Files.readAllBytes(path), Constants.CHARSET);
    Element element = Xml.loadString(data, false);
    assertSampleXml(element);
}