@Test
public void testReadElementWithTypeAttr() throws Exception {

	String svcType = "org:holodeckb2b:services:test";
	String svcName = "Packaging";
	
	Service svc = ServiceElement.readElement(createXML(
"	<eb3:Service type=\"" + svcType + "\"" +
"        xmlns:eb3=\"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\">" +
svcName + "</eb3:Service>"));
	
	assertNotNull(svc);
	assertEquals(svcType, svc.getType());
	assertEquals(svcName, svc.getName());
}