@Test
public void testParsing() {

    String xml = "<foo></foo>";
    Document doc = XmlUtils.toXmlDoc(xml);
    String rootName = doc.getDocumentElement().getNodeName();
    assertEquals("foo", rootName);
}