示例#1
0
 public void IsSatisfiedBySubclassObject()
 {
     IsAFact fact = new IsAFact("p", "Fact");
     Assert.IsTrue(fact.IsSatisfiedByValue(fact));
 }
示例#2
0
 public void IsSatisfiedByFullName()
 {
     IsAFact fact = new IsAFact("p", "System.Int32");
     Assert.IsTrue(fact.IsSatisfiedByValue(12));
 }
示例#3
0
 public void IsSatisfiedByInterfaceObject()
 {
     IsAFact fact = new IsAFact("p", "IEnumerable");
     Assert.IsTrue(fact.IsSatisfiedByValue("123"));
 }
示例#4
0
 public void IsSatisfied()
 {
     IsAFact fact = new IsAFact("p", "IsAFact");
     Assert.IsTrue(fact.IsSatisfiedByValue(fact));
 }