Пример #1
0
        public void matches_when_all_conditions_are_true()
        {
            c1.IsMatch(true);
            c2.IsMatch(true);
            c3.IsMatch(true);

            theCompositeCondition.Matches(null, null).ShouldBeTrue();
        }
Пример #2
0
 public void matches_when_inner_condition_is_false()
 {
     theInnerCondition.IsMatch(false);
     theCondition.Matches(null, null).ShouldBeTrue();
 }