}
protected void runTest() throws Throwable {
OMFactory factory = metaFactory.getOMFactory();
OMDocument parent = OMXMLBuilderFactory.createOMBuilder(factory, new StringReader("<!--a--><b/><!--c-->")).getDocument();
parent.addChild(factory.createOMComment(null, "d"));
Iterator it = parent.getChildren();
assertEquals("a", ((OMComment)it.next()).getValue());
assertEquals("b", ((OMElement)it.next()).getLocalName());
assertEquals("c", ((OMComment)it.next()).getValue());
assertEquals("d", ((OMComment)it.next()).getValue());