}
// XXX - Generated code flattens nested structs
@Test
public void testChoiceWithGroups() throws Exception {
ChoiceWithGroups x = new ChoiceWithGroups();
x.setVarInt(100);
x.setVarString("hello");
x.setVarFloat(1.1f);
ChoiceWithGroups yOrig = new ChoiceWithGroups();
yOrig.setVarOtherString("world");
Holder<ChoiceWithGroups> y = new Holder<ChoiceWithGroups>(yOrig);
Holder<ChoiceWithGroups> z = new Holder<ChoiceWithGroups>();
ChoiceWithGroups ret;
if (testDocLiteral) {
ret = docClient.testChoiceWithGroups(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testChoiceWithGroups(x, y, z);
} else {