public void AreAnyJuniorInstructorsInCohort4NotActive() { var doAny = PracticeData.ToArray()[3].JuniorInstructors.Any(j => j.Active == false); //HINT: Cohort4 is PracticeData[3] Assert.IsFalse(doAny); //<-- change true to doAny }
public void AreAnyStudentsInCohort3NotActiveAndBornInOctober() { var doAny = PracticeData.ToArray()[2].Students.Any(s => s.Active == false && s.Birthday.Month == 10); //HINT: Cohort3 is PracticeData[2] Assert.IsFalse(doAny); //<-- change true to doAny }