I need to create Unit Tests for an ASP.NET MVC 2.0 web site. The site uses Windows Authentication.
I\'ve been reading up on the necessity to mock the HTTP context
Scott Hanselman shows in his blog how to use IPrincipal and ModelBinder to make easier to test the controller by mocking IPrincipal.