@Test
public void jaxbTaskSummarySerialization() throws Exception {
Assume.assumeFalse(getType().equals(TestType.YAML));
TaskSummaryImpl taskSumImpl = new TaskSummaryImpl(
1l,
"a", "b", "c",
Status.Completed,
3, true,
new UserImpl("d"), new UserImpl("e"),
new Date(), new Date(), new Date(),
"f", 5, 2l, "deploymentId",
SubTasksStrategy.EndParentOnAllSubTasksEnd, 6l);
taskSumImpl.setParentId(4l);
JaxbTaskSummary jaxbTaskSum = new JaxbTaskSummary(taskSumImpl);
JaxbTaskSummary jaxbTaskSumCopy = testRoundTrip(jaxbTaskSum);
ComparePair.compareObjectsViaFields(jaxbTaskSum, jaxbTaskSumCopy, "subTaskStrategy", "potentialOwners");