DescriptionElement { public static OMElement getElement(final OMElement parent) { return parent.getFirstChildWithName(Q_ELEMENT_NAME); }  static OMElement createElement(final OMElement parent, final IDescription data); static OMElement getElement(final OMElement parent); static Description readElement(final OMElement descrElement); static final QName Q_ELEMENT_NAME; static final String LN_ATTR_LANG; }
@Test public void testGetElement() throws Exception { OMElement dElement = DescriptionElement.getElement(createXML( "<parent>" + " <eb3:Description xml:lang=\"en-US\"" + " xmlns:eb3=\"http: "This is just a test" + "</eb3:Description> " + "</parent>")); assertNotNull(dElement); assertEquals(Q_ELEMENT_NAME, dElement.getQName()); }