return x.getFoo().getFoo().equals(y.getFoo().getFoo())
&& x.getFoo().getBar().equals(y.getFoo().getBar());
}
public void testAnonymousType() throws Exception {
AnonymousType x = new AnonymousType();
AnonymousType.Foo fx = new AnonymousType.Foo();
fx.setFoo("hello");
fx.setBar("there");
x.setFoo(fx);
AnonymousType yOrig = new AnonymousType();
AnonymousType.Foo fy = new AnonymousType.Foo();
fy.setFoo("good");
fy.setBar("bye");
yOrig.setFoo(fy);
Holder<AnonymousType> y = new Holder<AnonymousType>(yOrig);
Holder<AnonymousType> z = new Holder<AnonymousType>();
AnonymousType ret;
if (testDocLiteral) {
ret = docClient.testAnonymousType(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testAnonymousType(x, y, z);
} else {