A Couple of Isolator Tricks

Note: Cross posted from The Typemock Insider Blog.

Permalink

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?

Leave A Reply

Your email address will not be published. Required fields are marked *