public void GuessesTheImageServiceTest_GetAllCategories_count()
        {
            var expected = rep.GetAllCategories().Count();
            var actual   = service.GetAllCategories().Count();

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
        public void GuessesTheImageControllerTest_GetAllCategories()
        {
            var expected = service.GetAllCategories().Count();
            var actual   = controller.GetAllCategories();

            Assert.AreEqual(expected, actual.Count());
        }
Пример #3
0
 public IQueryable <string> GetAllCategories()
 {
     return(service.GetAllCategories());
 }