26 November 2010
This post is the third part of a series on Mocking with Moq. If you haven't already taken a look at the first two posts on the basics of Moq, please check it out. Mocking a method within the same class So, recently I came across a problem where
6 August 2010
Test ASP.NET MVC routes with Moq by faking HTTP requests and checking controller, action and parameter values, catching broken mappings before they ship.
8 June 2010
This post is the second part of a series on Mocking with Moq. If you haven't already taken a look at the first post on the basics of Moq, please check it out. In this post, I hope to cover some other basic aspects of mocking such as Verifying,
9 April 2010
Isolate your C# unit tests with Moq by mocking the data layer, setting up return values and checking results without changing a real database.