public TestSetup() { CacheMock = new TestCacheManager().CacheMock; TestLoggerFactory = new TestLoggerFactory(); UserManager = MoqHelper.GetTestUserManager(); //UserService = new UserService(UserManager, TestLoggerFactory, CacheMock.Object, null); UserService = new UserService(UserManager, TestLoggerFactory, CacheMock.Object); }