Role role2 = Role.createRole(ec);
employee.addToRoles(role2);
employee.removeFromRoles(role1);
NSDictionary changesFromCommittedSnapshot = employee.changesFromCommittedSnapshot();
/*
* We changed only the role relationship so the only recorded change should be
* roles with the added and removed object.
*/