simpleFooRequest().findSimpleFooById(999L).with("oneToManySetField").fire(
new Receiver<SimpleFooProxy>() {
@Override
public void onSuccess(SimpleFooProxy fooProxy) {
fooProxy = checkSerialization(fooProxy);
SimpleFooRequest context = simpleFooRequest();
Request<SimpleFooProxy> updReq =
context.persistAndReturnSelf().using(fooProxy).with("oneToManySetField");
fooProxy = context.edit(fooProxy);
Set<SimpleBarProxy> setField = fooProxy.getOneToManySetField();
final int listCount = setField.size();
assertContains(setField, barProxy);
setField.remove(context.edit(barProxy));
assertNotContains(setField, barProxy);
updReq.fire(new Receiver<SimpleFooProxy>() {
@Override
public void onSuccess(SimpleFooProxy response) {
response = checkSerialization(response);