p.setCompanyRelationship(c);
editingContext.saveChanges();
ERXRestFormat.json().parse("{\"name\":\"Mike Updated\",\"company\":{\"name\":\"Company Updated\"}}").updateObjectWithFilter(p, ERXKeyFilter.filterWithAllRecursive(), new ERXRestContext(editingContext));
assertEquals("Mike Updated", p.name());
assertNotSame(c, p.company());
assertNotNull(p.company());
assertFalse(editingContext.deletedObjects().containsObject(c));
assertTrue(editingContext.globalIDForObject(p.company()).isTemporary());
assertEquals("Company Updated", p.company().name());
}