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