public void TestGetCategory()
        {
            var x = _repo.GetCategory();

            Assert.NotNull(x);
            Assert.Greater(x.Count, 0);
        }
        public void TestGetCategory()
        {
            var result = _repo.GetCategory();

            Assert.NotNull(result);
            Assert.AreEqual(result.Count, 3);
        }
        public void TestGetCategories()
        {
            var result = _buyrepo.GetCategory();

            Assert.IsNotNull(result);
        }
示例#4
0
        public void TestGetCategory()
        {
            List <Category> c = rep.GetCategory();

            Assert.NotNull(c);
        }