Ejemplo n.º 1
0
        public void ShouldReturnCategory()
        {
            Category            result = null;
            ICategoryRepository repo   = new CategoryListRepository();

            result = repo.GetById(0);

            Assert.IsTrue(result != null && result is Category);
        }
 public CategoryListService()
 {
     catListRepo = new CategoryListRepository();
 }