Unit testing methods that depend upon ASP.NET Identity 2 UserManager
ASP.NET Identity has made it possible to unit test code that makes use of its built in user and role management features, generally by injecting a UserManager instance into your classes. It can be frustrating…