new ArrayList<SimpleBarProxy>(oldOneToManyField);
foo.setOneToManyField(newOneToManyField);
assertFalse(context.isChanged());
// Change to same entity proxy doesn't cause a change
foo.getOneToManyField().set(0, context.edit(foo.getOneToManyField().get(0)));
assertFalse(context.isChanged());
// Change to a collection directly causes a change
// Note that create() doesn't cause a change, see testChangedCreate
foo.getOneToManyField().set(0, context.create(SimpleBarProxy.class));