@Test
public void testUpdate() throws Exception {
XmlObject xmlObject = XmlObject.Factory.parse(this.getClass().getResource("/update.xml"));
Assert.assertNotNull(xmlObject);
System.out.println(xmlObject.toString());
Task taskElement = Task.Factory.newInstance();
TaskMetadata metadata = taskElement.addNewMetadata();
metadata.set(new TaskUnmarshaller().expectElement(xmlObject, "taskMetadata"));
System.out.println(taskElement.getMetadata().getTaskId());
}