Ejemplo n.º 1
0
        public void RemoveRule_should_remove_the_passed_rule_from_the_Rules_collection()
        {
            // arrange
            var rule = new Rule(Guid.Empty);

            _ruleBase.AddRule(rule);

            // act
            _ruleBase.RemoveRule(rule);

            // assert
            Assert.DoesNotContain(rule, _ruleBase.Rules);
        }