how to call IFormsAuthentication interface in unit testing
how to cal开发者_如何学运维l IFormsAuthentication interface in unit testing in asp.net mvc with repositories
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.
精彩评论