public void AccountControllerTestInit() { _fixture = new Fixture(); _fixture.Customizations.Add(new VirtualMembersOmitter()); _httpContext = Substitute.For<IHttpContextService>(); _userAccountService = Substitute.For<IUserAccountService>(); _accountController = new AccountController(_httpContext, _userAccountService); }
public void AccountControllerTestInit() { _httpContext = Substitute.For<IHttpContextService>(); _userAccountService = Substitute.For<IUserAccountService>(); _accountController = new AccountController(_httpContext, _userAccountService); }
public void AccountControllerTestInit() { _userRepository = Substitute.For<IEntityRepository<ApplicationUser>>(); _accountController = new AccountController(_userRepository); }