Пример #1
0
        // Make sure the user Joseph with password qwerty is in the mock repo
        public void Test10()
        {
            var testUserRepo = new MockRepositoryUser();

            Assert.NotEmpty(testUserRepo.GetUsers("Joseph", "qwerty"));
        }
Пример #2
0
        // Make sure user pizza repository is not empty
        public void Test4()
        {
            var userRepo = new MockRepositoryUser();

            Assert.NotEmpty(userRepo.GetUsers());
        }