protected void runTest() throws Throwable {
OMDocument original = metaFactory.createOMBuilder(metaFactory.getOMFactory(),
TEST_PARSER_CONFIGURATION, new InputSource(file.getUrl().toString())).getDocument();
OMDocument clone = (OMDocument)original.clone(new OMCloneOptions());
ByteArrayOutputStream baos = new ByteArrayOutputStream();
clone.serialize(baos);
XMLAssertEx.assertXMLIdentical(file.getUrl(),
new ByteArrayInputStream(baos.toByteArray()), false);
}
}