public void GuessesTheImageServiceTest_GetAll_count()
        {
            var expected = rep.GetAll().Count();
            var actual   = service.GetAll().Count();

            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public void GuessesTheImageControllerTest_GetAll()
        {
            var expected = service.GetAll().Count();
            var result   = controller.GetAllTasks();
            var actual   = result.Count();

            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 3
0
 public IQueryable <GuessesTheImageToReturn> GetAllTasks()
 {
     return(service.GetAll());
 }