fooProxy = context.edit(fooProxy);
// Make the Foo point to the Bar
fooProxy.setBarField(barProxy);
fooProxy.setUserName("Hello");
fooProxy.setByteField((byte) 55);
context.persistAndReturnSelf().using(fooProxy).with("barField").fire(
new Receiver<SimpleFooProxy>() {
@Override
public void onSuccess(SimpleFooProxy received) {
received = checkSerialization(received);
// Check that Foo points to Bar