Tag Archives: unit tests

Moq – Mocking the same method call with multiple results

The Scenario

I have a loop in production code that has evolved into processing batches of records. I need to modify an existing unit test to accommodate mocking the same method call each time through the loop returning different results on each loop (as it would in production).

read more

Leave a Comment

Filed under Comps

Moq Vs Rhino Mocks

Just some rough notes I made coming from a Moq framework and converting to Rhino Mocks:

read more

Leave a Comment

Filed under Comps