(SOAPEnvelope) OMTestUtils.getOMBuilder(
new File(dir, TestConstants.SOAPMESSAGE))
.getDocumentElement();
SOAPBody body = soapEnvelope.getBody();
OMElement firstClonedBodyElement = body.cloneOMElement();
OMElement secondClonedBodyElement = body.cloneOMElement();
// first check whether both have the same information
assertXMLEqual(newDocument(body.toString()), newDocument(firstClonedBodyElement.toString()));
assertXMLEqual(newDocument(body.toString()), newDocument(secondClonedBodyElement.toString()));