assertEquals(parent, o);
}
private void assertUnmarshalled(Root unmarshalled)
{
Root root = new Root();
root.setChoiceCollection1(
Arrays.asList(new Object[]{new Choice1("choice1_a", null), new Choice1(null, "choice1_b")})
);
root.setChoice2(Arrays.asList(new Object[]{new Choice2("choice2_c", "choice2_d", null),
new Choice2(null, "choice2_d", "choice2_e")
}
)
);
root.setChoice3(Arrays.asList(new Object[]{
new Choice3(Arrays.asList(new Integer[]{new Integer(1), new Integer(2), new Integer(3)}), null),
new Choice3(null, Arrays.asList(new String[]{"1", "2", "3"}))
}
)
);