Basic introduction to writing unit tests with Moq - Part 2

added by deanomachino
6/8/2010 11:35:24 AM

1 Kicks, 130 Views

In this post, I hope to cover some other basic aspects of mocking such as Verifying, Exceptions and strict Mock behaviour. There are a lot of awesome aspects of mocking out there, and I still try and experiment with them as much as possible. In the first post, I talked about the advantages of using mocking to simulate different objects and exceptions that we need to work with. For these examples you will need to have nUnit and Moq installed. Let take a look at some of these features.


0 comments