Ejemplo n.º 1
0
        public UserCanLoginTests()
        {
            authMock = new Mock<IAuthProvider>();
            usersMock = new Mock<IUserRepository>();

            controller = new AccountController(usersMock.Object, authMock.Object);
        }
Ejemplo n.º 2
0
        public UserListTests()
        {
            userServiceMock = new Mock<IUserRepository>();

            controller = new AccountController(userServiceMock.Object, null);
        }
        public UserCanActivateAndDeactivateTest()
        {
            usersMock = new Mock<IUserRepository>();

            controller = new AccountController(usersMock.Object, null);
        }