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