@Test
public void workItemObjectTest() throws Exception {
// Don't run with YAML?
Assume.assumeFalse(getType().equals(TestType.YAML));
JaxbWorkItemResponse workitemObject = new JaxbWorkItemResponse();
workitemObject.setId(35l);
workitemObject.setName("Clau");
workitemObject.setState(0);
workitemObject.setProcessInstanceId(1l);
Map<String, Object> params = new HashMap<String, Object>();
params.put("test", "driving");
workitemObject.setParameters(params);
JaxbWorkItemResponse roundTripWorkItem = testRoundTrip(workitemObject);
ComparePair.compareObjectsViaFields(workitemObject, roundTripWorkItem);
}