addTestProperty("copyOMDataSources", String.valueOf(copyOMDataSources));
}
protected void runTest() throws Throwable {
OMFactory factory = metaFactory.getOMFactory();
OMDataSource ds = new WrappedTextNodeOMDataSourceFromDataSource(new QName("wrapper"),
new ByteArrayDataSource("test".getBytes("utf-8")), Charset.forName("utf-8"));
OMSourcedElement element = factory.createOMElement(ds);
OMCloneOptions options = new OMCloneOptions();
options.setCopyOMDataSources(copyOMDataSources);
OMElement clone = (OMElement)element.clone(options);