}
protected void runTest() throws Throwable {
SOAPEnvelope soapEnvelope = OMXMLBuilderFactory.createSOAPModelBuilder(metaFactory,
AbstractTestCase.getTestResource(TestConstants.SOAP_SOAPMESSAGE), null).getSOAPEnvelope();
SOAPBody body = soapEnvelope.getBody();
OMElement firstClonedBodyElement = body.cloneOMElement();
OMElement secondClonedBodyElement = body.cloneOMElement();
// first check whether both have the same information
XMLAssert.assertXMLEqual(body.toString(),
firstClonedBodyElement.toString());
XMLAssert.assertXMLEqual(body.toString(),
secondClonedBodyElement.toString());
XMLAssert.assertXMLEqual(firstClonedBodyElement.toString(),
secondClonedBodyElement.toString());
// The clone is expected to be orphaned