public void CourseShouldThrowExceptionWithEmptyName() { var course = new Course(string.Empty); }
public void CourseShouldThrowExceptionWithNullName() { var course = new Course(null); }
public void CourseShoulReturnNameCorrectly() { var course = new Course("HQC"); Assert.AreEqual("HQC", course.Name); }
public void CourseShoudNotThrowError() { var course = new Course("HQC"); }
public void ShouldThrowAnArgumentNullExceptionWhenNullIsPassedToRemoveStudentMethod() { Course testCourse = new Course("Test"); testCourse.RemoveStudent(null); }
public void CourseTitleShouldBeSetCorrectlyWhenValidArgumentIsPassed() { Course testCourse = new Course("Valid Title"); Assert.AreEqual("Valid Title", testCourse.Title, "Valid title should be set correctly"); }
public void CourseShouldThrowAnArgumentExceptionIfTitleIsEmpty() { Course testCourse = new Course(string.Empty); }
public void CourseShouldThrowAnArgumentExceptionIfTitleIsNull() { Course testCourse = new Course(null); }