I was trying to write some tests to test the Create method in my Controller and I needed to mock the User.IsInRole("Administrator") so that I can continue with my testing.  So I was looking around for some help, and I found this very interesting blog from Scott Hanselman.

Its a library of MvcMockHelpers using either Rhino Mocks or Moq.

Advertisement