return x.getVarInt() == y.getVarInt()
&& equals(x.getRecElNext(), y.getRecElNext());
}
@Test
public void testRecElType() throws Exception {
RecElType x = new RecElType();
RecElType y = new RecElType();
RecElNextType xn = new RecElNextType();
RecElNextType yn = new RecElNextType();
y.setVarInt(123);
y.setRecElNext(yn);
xn.getRecEl().add(y);
x.setVarInt(456);
x.setRecElNext(xn);
Holder<RecElType> yh = new Holder<RecElType>(y);
Holder<RecElType> zh = new Holder<RecElType>();
RecElType ret;
if (testDocLiteral) {
ret = docClient.testRecElType(x, yh, zh);
} else if (testXMLBinding) {
ret = xmlClient.testRecElType(x, yh, zh);
} else {