public void onSuccess(SimpleFooProxy response) {
assertEquals(SimpleEnum.FOO, response.getEnumField());
SimpleFooRequest ctx = simpleFooRequest();
response = ctx.edit(response);
response.setEnumField(SimpleEnum.BAR);
ctx.persistAndReturnSelf().using(response).fire(new Receiver<SimpleFooProxy>() {
@Override
public void onSuccess(SimpleFooProxy response) {
assertEquals(SimpleEnum.BAR, response.getEnumField());
SimpleFooRequest ctx = simpleFooRequest();
response = ctx.edit(response);