public void TestStudent_JoinCourse() { Student testStudentOne = new Student("Pesho"); Course javascript = new Course("Javascript Course", "Nakov"); testStudentOne.JoinCourse(javascript); Assert.IsTrue(javascript.Students.Contains(testStudentOne), "Student has not been included in the course"); }
public void TestStudent_LeaveCourseNull() { Student testStudentOne = new Student("Pesho"); Course javascript = new Course("Javascript Course", "Nakov"); testStudentOne.JoinCourse(javascript); testStudentOne.LeaveCourse(null); }
public void TestStudent_JoinCourseNull() { Student testStudentOne = new Student("Pesho"); testStudentOne.JoinCourse(null); }