}
public void testGeneratedXmlObject() throws Exception {
// URL xmlFile = getClass().getClassLoader().getResource("ipo.xml");
// URL/Stream/Reader to XmlObject
PurchaseOrderDocument object = PurchaseOrderDocument.Factory.parse(new StringReader(IPO_XML));
// XmlObject to XMLStreamReader
XmlObject2XMLStreamReader t1 = new XmlObject2XMLStreamReader();
XMLStreamReader reader = t1.transform(object, null);
// XMLStreamReader to XmlObject
XMLStreamReader2XmlObject t2 = new XMLStreamReader2XmlObject();
PurchaseOrderDocument object2 = (PurchaseOrderDocument) t2.transform(reader, null);
// XmlObject to Node
XmlObject2Node t3 = new XmlObject2Node();
Node node = t3.transform(object2, null);
// Node to XmlObject
Node2XmlObject t4 = new Node2XmlObject();
PurchaseOrderDocument object3 = (PurchaseOrderDocument) t4.transform(node, null);
Assert.assertNotNull(object3);
}