OMElement documentElement = omFac.createOMElement("RootElement",
omFac.createOMNamespace("http://one.org", ""));
OMNamespace ns = omFac.createOMNamespace("http://ws.apache.org/axis2", "ns2");
OMElement childOne = omFac.createOMElement("ChildElementOne", ns, documentElement);
childOne.declareDefaultNamespace("http://two.org");
OMElement childTwo = omFac.createOMElement("ChildElementTwo",
omFac.createOMNamespace("http://one.org", ""), childOne);
assertEquals(2, getNumberOfOccurrences(documentElement.toStringWithConsume(),