Beispiel #1
0
        public void ExactlyOne_OneOptionTrue()
        {
            var condition = Relationships.ExactlyOne(Condition.True);

            Assert.IsTrue(condition.Matches(null));
        }
Beispiel #2
0
        public void ExactlyOne_NoParamsFalse()
        {
            var condition = Relationships.ExactlyOne();

            Assert.IsFalse(condition.Matches(null));
        }
Beispiel #3
0
        public void ExactlyOne_NoneFalse()
        {
            var condition = Relationships.ExactlyOne(Condition.False, Condition.False, Condition.False);

            Assert.IsFalse(condition.Matches(null));
        }