AgreementRefElement { public static OMElement getElement(final OMElement ciElement) { return ciElement.getFirstChildWithName(Q_ELEMENT_NAME); }  static OMElement createElement(final OMElement ciElement, final IAgreementReference data); static OMElement getElement(final OMElement ciElement); static AgreementReference readElement(final OMElement element); static final QName Q_ELEMENT_NAME; static final String LN_ATTR_TYPE; static final String LN_ATTR_PMODE; }
@Test public void testGetElement() throws Exception { OMElement agreementRefElement = AgreementRefElement.getElement(createXML( "<parent>" + "<eb3:AgreementRef xmlns:eb3=\"http: + "http: + "</parent>")); assertNotNull(agreementRefElement); assertEquals(AGREEMENT_REF_INFO_ELEMENT_NAME, agreementRefElement.getQName()); }