public void Setup()
 {
     _mapper             = UnityUlitity.SetupAutoMapper();
     _mockLogger         = new Mock <ILogger>();
     _mockUserRepository = new Mock <IRepository <DataAccess.Entity.User> >();
     _userManager        = new UserManager(_mockUserRepository.Object, _mapper, _mockLogger.Object);
 }
Example #2
0
 public void Setup()
 {
     _mapper = UnityUlitity.SetupAutoMapper();
 }