CollaborationInfoElement { public static OMElement getElement(final OMElement parent) { return parent.getFirstChildWithName(Q_ELEMENT_NAME); }  static OMElement createElement(final OMElement umElement, final ICollaborationInfo data); static OMElement getElement(final OMElement parent); static org.holodeckb2b.common.messagemodel.CollaborationInfo readElement(final OMElement ciElement); static final QName Q_ELEMENT_NAME; }
@Test public void testGetElement() throws Exception { OMElement ciElement = CollaborationInfoElement.getElement(createXML( "<parent>" + " <eb3:CollaborationInfo" + " xmlns:eb3=\"http: " <eb3:AgreementRef>http: " <eb3:Service type=\"org:holodeckb2b:services\">PackagingTest</eb3:Service>\n" + " <eb3:Action>GetElement</eb3:Action>\n" + " <eb3:ConversationId>org:holodeckb2b:test:conversation</eb3:ConversationId>\n" + " </eb3:CollaborationInfo>" + "</parent>")); assertNotNull(ciElement); assertEquals(COLLABORATION_INFO_ELEMENT_NAME, ciElement.getQName()); }