0
kicks
ASP.NET MVC Tip #12 - Faking the Controller Context
In this tip, Stephen Walther shows you how to test ASP.NET intrinsics when building unit tests for an ASP.NET MVC application. He shows you how to create a standard set of fake objects that enables you to fake the current user, the current user roles, the request parameters, session state, and cookies.