317318319320321322323324
expected.getDocumentElement().normalize(); actual.getDocumentElement().normalize(); Diff diff = compareXML(expected, actual); assertEquals("Test if the assertion document is equal, " + diff.toString(), true, diff.identical()); } }