This project is read-only. identity unit testing

Nov 15, 2014 at 5:00 AM
Hi there,

I was wondering if I could find best way of unit testing ASP.NET identity 2.0. I am trying to Mock ApplicationUserManager, ApplicationRoleManager, ApplicationSignInManager etc using moq framework, but I am not successful testing/mocking everything.
Nov 23, 2014 at 11:45 AM
You may want to take a look at thinktecture IdentitySServer 3.0 or MembershipReboot libraries that contain some really good examples of setting up the unit tests using moq. I assume you will be able to translate the ideas for identity. Good luck.