public void NotEmptyGoalsList()
        {
            TestContext.WriteLine("Consulta na lsita de Objetivos");
            var goals = GoalsRepository.List();

            TestContext.WriteLine($"Tamanho da lista de Objetivos:{goals.Count}");
            CollectionAssert.AllItemsAreNotNull(goals);
        }
예제 #2
0
 public GoalsService(GoalsRepository goalRepo)
 {
     _goalRepo = goalRepo;
 }
예제 #3
0
 public GoalsService(GoalsRepository repo)
 {
     _repo = repo;
 }
        public void DoesNotExistGoal()
        {
            var goal = GoalsRepository.Select(new Guid());

            Assert.IsNull(goal);
        }