&& equalsNilable(x.getVarString(), y.getVarString())
&& equalsNilable(x.getVarStruct(), y.getVarStruct());
}
public void testStructWithOptionals() throws Exception {
StructWithOptionals x = new StructWithOptionals();
StructWithOptionals yOrig = new StructWithOptionals();
yOrig.setVarFloat(new Float(1.414f));
yOrig.setVarInt(new Integer(13));
yOrig.setVarString("Cheerio");
Holder<StructWithOptionals> y = new Holder<StructWithOptionals>(yOrig);
Holder<StructWithOptionals> z = new Holder<StructWithOptionals>();
StructWithOptionals ret;
if (testDocLiteral) {
ret = docClient.testStructWithOptionals(x, y, z);
} else {
ret = rpcClient.testStructWithOptionals(x, y, z);
}