@Test
public void testReadElementWithType() throws Exception {

	String pName = "reference_number";
	String pType = "CrossReferenceID";
	String pValue = "XREF_4828";
	
	Property prop = PropertyElement.readElement(createXML(
"<eb3:Property name=\"" + pName + "\" type=\"" + pType +"\"" +
" xmlns:eb3=\"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\">" + 
pValue + "</eb3:Property>" 
			));
			
    assertNotNull(prop);
    assertEquals(pName, prop.getName());
    assertEquals(pType, prop.getType());
    assertEquals(pValue, prop.getValue());
}