public void TestingCourseRemovingStudents() { string name = "Tech class"; string studentName = "John"; int id = 10000; var student = new Student(studentName, id); var course = new Course(name); course.AddStudent(student); course.RemoveStudent(student); Assert.AreEqual( 0, course.Students.Count, string.Format("The length {0} does not equal the expected length {1}", course.Students.Count, 0)); }