}
OMElement a = (OMElement)root.getFirstOMChild();
assertEquals("a", a.getLocalName());
OMElement b = (OMElement)a.getNextOMSibling();
assertEquals("b", b.getLocalName());
OMNode returnValue = b.detach();
assertSame(b, returnValue); // Detach is expected to do a "return this"
assertNull(b.getParent());
OMElement c = (OMElement)a.getNextOMSibling();
assertEquals("c", c.getLocalName());
assertSame(c, a.getNextOMSibling());