public void AddingStudentToCourseShouldincreaseItsStudentsCount() { var student = new Student(34444, "aaa"); var school = new School("the school", new List<Course> { new Course("course", new List<Student>()) }); school.AddStudentToCourse(student, "course"); Assert.AreEqual(1, school.Courses.Single(x => x.Name == "course").Students.Count); }