ServiceElement { public static OMElement getElement(final OMElement ciElement) { return ciElement.getFirstChildWithName(Q_ELEMENT_NAME); }  static OMElement createElement(final OMElement ciElement, final IService data); static OMElement getElement(final OMElement ciElement); static org.holodeckb2b.common.messagemodel.Service readElement(final OMElement svcElement); static final QName Q_ELEMENT_NAME; static final String LN_ATTR_TYPE; }
@Test public void testGetElement() throws Exception { OMElement sElement = ServiceElement.getElement(createXML( "<parent>" + " <eb3:Service type=\"org:holodeckb2b:services\"" + " xmlns:eb3=\"http: "PackagingTest</eb3:Service>\n" + "</parent>")); assertNotNull(sElement); assertEquals(SERVICE_ELEMENT_NAME, sElement.getQName()); }