/**
* Test that complex enums with state and non-default constructors can be used
* over RPC and that the client state does not change.
*/
public void testComplexEnums() {
Complex a = Complex.A;
a.value = "client";
delayTestFinishForRpc();
getService().echo(Complex.A, new AsyncCallback<Complex>() {
@Override