public void Get_All_Quality_Check_Test()
        {
            IQualityCheckRepository repository = new QualityCheckRepository(testDBContext);

            var qcRules = repository.RetrieveQualityCheckRules().ToList();

            Assert.IsNotNull(qcRules);

            Assert.AreEqual(qcRules.Count(), 1);
        }
        public void Delete_Quality_Check_Rule_Test()
        {
            IQualityCheckRepository repository = new QualityCheckRepository(testDBContext);

            repository.DeleteQualityCheckRule(1);

            testDBContext.Commit();

            var lstRules = repository.RetrieveQualityCheckRules();

            Assert.AreEqual(lstRules.Count(), 0);
        }