Package com.mockobjects.constraint
Class IsEqual
java.lang.Object
com.mockobjects.constraint.IsEqual
- All Implemented Interfaces:
Constraint
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object)
method?-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IsEqual
-
-
Method Details
-
eval
Description copied from interface:Constraint
Evaluates the constraint for argument o.- Specified by:
eval
in interfaceConstraint
- Returns:
true
if o meets the constraint,false
if it does not.
-
toString
-
equals
-