@Test
public void testMixedArray() throws Exception {
if (!shouldRunTest("MixedArray")) {
return;
}
MixedArray x = new MixedArray();
x.getArray1().addAll(Arrays.asList("AAA", "BBB", "CCC"));
x.setArray2(new UnboundedArray());
x.getArray2().getItem().addAll(Arrays.asList("aaa", "bbb", "ccc"));
x.getArray3().addAll(Arrays.asList("DDD", "EEE", "FFF"));
x.setArray4(new FixedArray());
x.getArray4().getItem().addAll(Arrays.asList(1, 2, 3));
x.getArray5().addAll(Arrays.asList("GGG", "HHH", "III"));
x.setArray6(new MixedArray.Array6());
x.getArray6().getItem().addAll(Arrays.asList("ggg", "hhh", "iii"));
x.getArray7().addAll(Arrays.asList("JJJ", "KKK", "LLL"));
x.setArray8(new MixedArray.Array8());
x.getArray8().getItem().addAll(Arrays.asList(4, 5, 6));
Array9 array91 = new MixedArray.Array9();
Array9 array92 = new MixedArray.Array9();
Array9 array93 = new MixedArray.Array9();
array91.setItem("MMM");
array92.setItem("NNN");
array93.setItem("OOO");
x.getArray9().addAll(Arrays.asList(array91, array92, array93));
Array10 array101 = new MixedArray.Array10();
Array10 array102 = new MixedArray.Array10();
Array10 array103 = new MixedArray.Array10();
array101.setItem("PPP");
array102.setItem("QQQ");
array103.setItem("RRR");
x.getArray10().addAll(Arrays.asList(array101, array102, array103));
x.getArray11().addAll(Arrays.asList("AAA", "BBB", "CCC"));
MixedArray yOrig = new MixedArray();
yOrig.getArray1().addAll(Arrays.asList("XXX", "YYY", "ZZZ"));
yOrig.setArray2(new UnboundedArray());
yOrig.getArray2().getItem().addAll(Arrays.asList("xxx", "yyy", "zzz"));
yOrig.getArray3().addAll(Arrays.asList("DDD", "EEE", "FFF"));
yOrig.setArray4(new FixedArray());
yOrig.getArray4().getItem().addAll(Arrays.asList(1, 2, 3));
yOrig.getArray5().addAll(Arrays.asList("GGG", "HHH", "III"));
yOrig.setArray6(new MixedArray.Array6());
yOrig.getArray6().getItem().addAll(Arrays.asList("ggg", "hhh", "iii"));
yOrig.getArray7().addAll(Arrays.asList("JJJ", "KKK", "LLL"));
yOrig.setArray8(new MixedArray.Array8());
yOrig.getArray8().getItem().addAll(Arrays.asList(4, 5, 6));
array91 = new MixedArray.Array9();
array92 = new MixedArray.Array9();
array93 = new MixedArray.Array9();
array91.setItem("MMM");
array92.setItem("NNN");
array93.setItem("OOO");
yOrig.getArray9().addAll(Arrays.asList(array91, array92, array93));
array101 = new MixedArray.Array10();
array102 = new MixedArray.Array10();
array103 = new MixedArray.Array10();
array101.setItem("PPP");
array102.setItem("QQQ");
array103.setItem("RRR");
yOrig.getArray10().addAll(Arrays.asList(array101, array102, array103));
yOrig.getArray11().addAll(Arrays.asList("XXX", "YYY", "ZZZ"));
Holder<MixedArray> y = new Holder<MixedArray>(yOrig);
Holder<MixedArray> z = new Holder<MixedArray>();
MixedArray ret;
if (testDocLiteral) {
ret = docClient.testMixedArray(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testMixedArray(x, y, z);
} else {