@Test
public void testGetElements() throws Exception {

	Iterator<OMElement> propElements = PropertyElement.getElements(createXML(
    		"<parent>" +
"   <eb3:Property name=\"original-file-name\"" +
    " xmlns:eb3=\"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\">" + 
    "simple_document.xml</eb3:Property>" +
"</parent>"));
	
    assertNotNull(propElements);
    OMElement propElement = propElements.next();
    assertEquals(Q_ELEMENT_NAME, propElement.getQName());
    assertFalse(propElements.hasNext());
    
    propElements = PropertyElement.getElements(createXML(
    		"<parent" +
" xmlns:eb3=\"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\">" + 
"   <eb3:Property name=\"original-file-name\">simple_document.xml</eb3:Property>" +
"   <eb3:Property name=\"reference_number\">XREF_4828</eb3:Property>" +
"</parent>"));
    assertNotNull(propElements);
    propElement = propElements.next();
    assertEquals(Q_ELEMENT_NAME, propElement.getQName());
    assertTrue(propElements.hasNext());        
    propElement = propElements.next();
    assertEquals(Q_ELEMENT_NAME, propElement.getQName());
    assertFalse(propElements.hasNext());        
}