Exemplo n.º 1
0
        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);
        }