public void MapsPgFurtherEducationToQtlsWithPgce() { var courseQualification = new QualificationMapper().MapQualification(ProfpostFlagPg, isFurtherEducationCourse: true, isPgde: false); courseQualification.Should().Be(CourseQualification.QtlsWithPgce, "this is a 'PG' course with further education"); }
public void MapsBlankToNo() { var courseQualification = new QualificationMapper().MapQualification("", isFurtherEducationCourse: false, isPgde: false); courseQualification.Should().Be(CourseQualification.Qts); }
public void MapsFurtherEducationToQtls() { var courseQualification = new QualificationMapper().MapQualification("", isFurtherEducationCourse: true, isPgde: false); courseQualification.Should().Be(CourseQualification.QtlsWithPgce, "this is a further education course, and we assume that these are always PGCE"); }
public void MapsPgToYes() { var courseQualification = new QualificationMapper().MapQualification(ProfpostFlagPg, isFurtherEducationCourse: false, isPgde: false); courseQualification.Should().Be(CourseQualification.QtsWithPgce); }