Adds granular tests for a one-to-one relationship.
Fix: the issue when updating a nested relationship, the corrupted entity was returned instead (wrong deep object merge due to Relation.setResolvedValue being applied on a partial entiutyChunk).
Adds a testFactory test helper function to ease testing.
Changes
updateEntity
function.Relation.setResolvedValue
being applied on a partialentiutyChunk
).testFactory
test helper function to ease testing.