@Test
public void testGetElement() throws Exception {    	

 OMElement agreementRefElement = AgreementRefElement.getElement(createXML(
    		"<parent>"
    		+ "<eb3:AgreementRef xmlns:eb3=\"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\">"
    				+ "http://agreements.holodeckb2b.org/examples/agreement0</eb3:AgreementRef>"
+ "</parent>"));
    assertNotNull(agreementRefElement);
    assertEquals(AGREEMENT_REF_INFO_ELEMENT_NAME, agreementRefElement.getQName());
}