コード例 #1
0
ファイル: CampaignTests.cs プロジェクト: btcoetzee/LMS
        public void CampaignControllerConstraintNotMetTest()
        {
            // Add one controller for constraint met -  return false
            List <IController> controllerList = new List <IController> {
                _testConstraintNotMetController
            };
            var controller          = new CampaignController(controllerList, _campaignServiceProvider.GetService <ILoggerClient>());
            var actualConstraintMet = controller.ConstraintMet(_testLeadEntity);

            Assert.AreEqual(false, actualConstraintMet);
        }