&& (x.getAttrib2().equals(y.getAttrib2()))
&& (x.getValue().equals(y.getValue()));
}
@Test
public void testExtColourEnum() throws Exception {
ExtColourEnum x = new ExtColourEnum();
x.setAttrib1(new Integer(1));
x.setAttrib2("Ax");
x.setValue(ColourEnum.fromValue("RED"));
ExtColourEnum yOrig = new ExtColourEnum();
yOrig.setAttrib1(new Integer(10));
yOrig.setAttrib2("Ay");
yOrig.setValue(ColourEnum.fromValue("GREEN"));
Holder<ExtColourEnum> y = new Holder<ExtColourEnum>(yOrig);
Holder<ExtColourEnum> z = new Holder<ExtColourEnum>();
ExtColourEnum ret;
if (testDocLiteral) {
ret = docClient.testExtColourEnum(x, y, z);
} else if (testXMLBinding) {
ret = xmlClient.testExtColourEnum(x, y, z);
} else {