Soon Hui Ngu wrote on how to use DoInstead for verifying argument in a method. Another option, by the way is to use a custom checker with Verify.NonPublic APIs.
And Ryan Rivest shows how to use a queue to set up different fake objects of the same type, and then use Swap.NextInstance.
Cool stuff, keep it coming, guys!
Got any other cool ideas you want to share?
NEW Isolator is out!
Start your FREE trial now!
Get a free chapter from The Art of Unit Testing.
"Like" us on Facebook.
Get It Now