return x.getVarInt() == y.getVarInt()
&& equals(x.getRecOuterNext(), y.getRecOuterNext());
}
@Test
public void testRecOuterType() throws Exception {
RecMostInnerType mitx = new RecMostInnerType();
RecMostInnerType mity = new RecMostInnerType();
RecMostInnerNextType mitxNext = new RecMostInnerNextType();
RecMostInnerNextType mityNext = new RecMostInnerNextType();
mitx.setRecMostInnerNext(mitxNext);
mity.setRecMostInnerNext(mityNext);
RecInnerType itx = new RecInnerType();
RecInnerType ity = new RecInnerType();
RecInnerNextType itxNext = new RecInnerNextType();
RecInnerNextType ityNext = new RecInnerNextType();
itx.setRecInnerNext(itxNext);
ity.setRecInnerNext(ityNext);
RecOuterType otx = new RecOuterType();
RecOuterType oty = new RecOuterType();
RecOuterNextType otxNext = new RecOuterNextType();
RecOuterNextType otyNext = new RecOuterNextType();
otx.setRecOuterNext(otxNext);
oty.setRecOuterNext(otyNext);
mitx.setVarInt(11);
mity.setVarInt(12);
mitxNext.getRecMostInner().add(mity);
itx.setVarInt(21);
ity.setVarInt(22);
itxNext.getRecInner().add(ity);