Package com.mockobjects.constraint
Interface Constraint
- All Known Implementing Classes:
And,IsAnything,IsCloseTo,IsEqual,IsEventFrom,IsGreaterThan,IsInstanceOf,IsLessThan,IsNot,IsNull,IsSame,Or
public interface Constraint
A constraint over acceptable values.
-
Method Summary
-
Method Details
-
eval
Evaluates the constraint for argument o.- Returns:
trueif o meets the constraint,falseif it does not.
-