how to call IFormsAuthentication interface in unit testing in asp.net mvc with repositories
A:
You should use a mock object framework such as Rhino Mocks or Moq. The web will give you plenty to read about using mock objects in unit testing.
John Bledsoe
2010-09-20 13:04:47