Esempio n. 1
0
        public void Z_RemoveQualificationTest()
        {
            QualificationsService.RemoveQualification(Qualification);
            var removedQualification = QualificationsService.GetQualificationFromId(Qualification.Id);

            Assert.AreEqual(removedQualification.Id, -1);
        }
Esempio n. 2
0
        public void Y_TestAddedQualification()
        {
            var addedQualification = QualificationsService.GetQualificationFromId(Qualification.Id);

            Assert.AreEqual(addedQualification.Id, Qualification.Id);
        }
Esempio n. 3
0
        //[TestCase(1, "SEC-45")]
        //[TestCase(2, "SEC-60")]
        //[TestCase(3, "CLERK")]
        //[TestCase(4, "PRG-VB")]
        public void GetQualificationFromIdTest(int id, string result)
        {
            var qualification = QualificationsService.GetQualificationFromId(id);

            Assert.AreEqual(qualification.Code, result);
        }