tags:

views:

4

answers:

1

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