예제 #1
0
 public void IsSatisfiedByStringInContext()
 {
     Context context = new Context();
     context.SetValue("p", "123");
     PropertyIsFact fact = new PropertyIsFact("p", "Length", 3);
     fact.IsSatisfiedByContext(context);
 }
예제 #2
0
 public void IsSatisfiedByStringLength()
 {
     PropertyIsFact fact = new PropertyIsFact("p", "Length", 3);
     fact.IsSatisfiedByObject("123");
 }