protected void runTest() throws Throwable {
OMFactory factory = metaFactory.getOMFactory();
OMElement parent = factory.createOMElement("parent", factory.createOMNamespace("urn:test", "p"));
final String[] resultHolder = new String[1];
OMElement element = factory.createOMElement(new AbstractPushOMDataSource() {
public void serialize(XMLStreamWriter writer) throws XMLStreamException {
resultHolder[0] = writer.getNamespaceContext().getNamespaceURI("p");
writer.writeStartElement(null, "root", null);
writer.writeEndElement();
}