@Test
public void testCreateElementWithTypeAttr() throws Exception {

	Service service = new Service("some_name", "some_type");
    OMElement sElement = ServiceElement.createElement(createParent(), service);
    assertEquals(SERVICE_ELEMENT_NAME, sElement.getQName());
    assertEquals("some_type", sElement.getAttributeValue(new QName("type")));
    assertEquals("some_name", sElement.getText());
}