public void RemoveFromEmptyCourse()
 {
     Student ivan = new Student(10000, "Ivan Ivanov");
     Course emptyCourse = new Course("Empty course");
     emptyCourse.RemoveStudent(ivan);
     Assert.Fail();
 }
 public void RemoveStudentThatIsNotEnrolledTest()
 {
     Student ivan = new Student(10000, "Ivan Ivanov");
     Student pesho = new Student(10001, "Pesho Peshov");
     Course sampleCourse = new Course("Javascript");
     sampleCourse.AddStudent(ivan);
     sampleCourse.RemoveStudent(pesho);
     Assert.Fail();
 }
 public void RemoveStudentFromCourseTest()
 {
     Student ivan = new Student(10000, "Ivan Ivanov");
     Course sampleCourse = new Course("Javascript");
     sampleCourse.AddStudent(ivan);
     Student[] enrolledStudents = sampleCourse.GetStudents();
     Assert.IsTrue(enrolledStudents.Length == 1);
     sampleCourse.RemoveStudent(ivan);
     Student[] enrolledStudentsWithoutStudent = sampleCourse.GetStudents();
     Assert.IsTrue(enrolledStudentsWithoutStudent.Length == 0);
 }