Beispiel #1
0
        public void IsNotSatisfied()
        {
            IsAFact fact = new IsAFact("p", "IsFact");

            Assert.IsFalse(fact.IsSatisfiedByValue(fact));
        }
Beispiel #2
0
        public void IsSatisfiedByInterfaceObject()
        {
            IsAFact fact = new IsAFact("p", "IEnumerable");

            Assert.IsTrue(fact.IsSatisfiedByValue("123"));
        }
Beispiel #3
0
        public void IsSatisfiedByFullName()
        {
            IsAFact fact = new IsAFact("p", "System.Int32");

            Assert.IsTrue(fact.IsSatisfiedByValue(12));
        }
Beispiel #4
0
        public void IsSatisfiedBySubclassObject()
        {
            IsAFact fact = new IsAFact("p", "Fact");

            Assert.IsTrue(fact.IsSatisfiedByValue(fact));
        }