private void SetupPostCreateUser()
 {
     var accountService = new Mock<IAccountService>();
     accountService.Setup(acct => acct.SaveUser(new User())).Returns(new User());
     _accountController = new AccountsController(new BaseServiceCollection(accountService.Object, null, null));
     _accountController.ControllerContext = new ControllerContext
                                                {
                                                    Controller = _accountController,
                                                    RequestContext = RequestContext
                                                };
 }
 private void SetupGetUsers()
 {
     var accountService = new Mock<IAccountService>();
     accountService.Setup(x => x.GetUsers()).Returns(new List<User>());
     _accountController = new AccountsController(new BaseServiceCollection(accountService.Object, null, null));
 }
 private void SetupGetCreateAccount()
 {
     _accountController = new AccountsController(null);
 }