PartPropertiesElement { public static OMElement getElement(final OMElement piElement) { return piElement.getFirstChildWithName(Q_ELEMENT_NAME); }  static OMElement createElement(final OMElement piElement, final Collection<IProperty> properties); static OMElement getElement(final OMElement piElement); static Collection<IProperty> readElement(final OMElement ppElement); static final QName Q_ELEMENT_NAME; }
@Test public void testGetElement() throws Exception { OMElement propElement = PartPropertiesElement.getElement(createXML( "<parent>" + " <eb3:PartProperties " + " xmlns:eb3=\"http: " <eb3:Property name=\"original-file-name\">simple_document.xml</eb3:Property>" + " </eb3:PartProperties> " + "</parent>")); assertNotNull(propElement); assertEquals(Q_ELEMENT_NAME, propElement.getQName()); }