Assert.assertEquals(ORDER_QNAME.getNamespaceURI(), element.getNamespace().getNamespaceURI());
Assert.assertEquals(ORDER_QNAME.getLocalPart(), element.getLocalName());
// TODO: See https://issues.apache.org/jira/browse/WSCOMMONS-226
// element.getBuilder().setCache(false);
StringWriter writer = new StringWriter();
element.serialize(writer);
}
public final void testTransformWrapper() throws XMLStreamException {
OMElement element = new DataObject2OMElement().transform(dataObject, context);
Assert.assertEquals(ORDER_QNAME.getNamespaceURI(), element.getNamespace().getNamespaceURI());