@Test
public void testDocumentToXml() throws SAXException, IOException {

	// Act
	final String xml1 = DOMUtils.documentToXml(DOCUMENT1);
	final String xml2 = DOMUtils.documentToXml(DOCUMENT2);
	// Assert
	assertNotNull(xml1);
	assertNotNull(xml2);
	assertTrue(StringUtils.hasText(xml1));
	assertTrue(StringUtils.hasText(xml2));
	assertXMLEqual(POLICY_STRING1, xml1);
	assertXMLEqual(POLICY_STRING2, xml2);
}