public void RemoveNonexistingCourseTest()
 {
     School school = new School();
     Course registeredCourse = new Course("Javascript");
     Course notRegisteredCourse = new Course("PHP");
     school.AddCourse(registeredCourse);
     school.RemoveCourse(notRegisteredCourse);
 }
 public void RemoveSchoolCourseTest()
 {
     School school = new School();
     Course sampleCourse = new Course("Javascript");
     school.AddCourse(sampleCourse);
     var schoolCourses = school.GetCourses();
     Assert.AreEqual(1, schoolCourses.Length);
     school.RemoveCourse(sampleCourse);
     var schoolCoursesUpdated = school.GetCourses();
     Assert.AreEqual(0, schoolCoursesUpdated.Length);
 }
 public void RemoveNullCourseTest()
 {
     School school = new School();
     school.RemoveCourse(null);
 }
 public void RemoveFromEmptyCourseListTest()
 {
     School school = new School();
     Course sampleCourse = new Course("Javascript");
     school.RemoveCourse(sampleCourse);
 }