assertEquals(msg, x.getVarUnion(), y.getVarUnion());
assertEquals(msg, x.getAttribUnion(), y.getAttribUnion());
}
public void testStructWithUnion() throws Exception {
StructWithUnion x = new StructWithUnion();
x.setVarUnion("999");
StructWithUnion yOrig = new StructWithUnion();
yOrig.setVarUnion("-999");
Holder<StructWithUnion> y = new Holder<StructWithUnion>(yOrig);
Holder<StructWithUnion> z = new Holder<StructWithUnion>();
StructWithUnion ret;
if (testDocLiteral) {
ret = docClient.testStructWithUnion(x, y, z);
} else {
ret = rpcClient.testStructWithUnion(x, y, z);
}