Пример #1
0
        public void GetAllPosts()
        {
            IEnumerable <Post> post = postContext.GetAll();

            Assert.AreNotEqual(0, post.Count());
        }
Пример #2
0
        public void GetAllUsers()
        {
            IEnumerable <User> users = userContext.GetAll();

            Assert.AreEqual(1, users.Count());
        }