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);
 }
 public void CourseWithOneStudentTest()
 {
     Student ivan = new Student(10000, "Ivan Ivanov");
     Course sampleCourse = new Course("Javascript");
     sampleCourse.AddStudent(ivan);
     Student[] enrolledStudents = sampleCourse.GetStudents();
     Assert.IsTrue(sampleCourse.CourseName == "Javascript");
     Assert.IsTrue(enrolledStudents.Length == 1);
     Assert.IsTrue(enrolledStudents[0] == ivan);
 }