0
kicks
Unit testing complex ASP.NET MVC controllers with Moq
One of the advantages of the new ASP.NET MVC framework is improved testability. Testing simple controllers is as simple as testing any other class. Once you start accessing HttpContext-related things though (such as the request, response, etc), things become much more tricky.