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