views:

176

answers:

0

Hello,

When reading the overview document, there are examples of how to test GetSalariedEmployee and InsertEmployee.

When trying to code a test for UpdateEmployee i want to check that repository's Attach method is called with the two parameters, but ChangeSet is null when there are no changes, so no calls can be made to ChangeSet.GetOriginal.

Is there a way to fake ChangeSet.GetOriginal return value ?

Regards,

Paulo