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