public void IsNotSatisfied() { IsAFact fact = new IsAFact("p", "IsFact"); Assert.IsFalse(fact.IsSatisfiedByValue(fact)); }
public void IsSatisfiedByInterfaceObject() { IsAFact fact = new IsAFact("p", "IEnumerable"); Assert.IsTrue(fact.IsSatisfiedByValue("123")); }
public void IsSatisfiedByFullName() { IsAFact fact = new IsAFact("p", "System.Int32"); Assert.IsTrue(fact.IsSatisfiedByValue(12)); }
public void IsSatisfiedBySubclassObject() { IsAFact fact = new IsAFact("p", "Fact"); Assert.IsTrue(fact.IsSatisfiedByValue(fact)); }