org.jmock.core.constraint (jMock API Documentation)
Keywords: org.jmock.core.constraint package

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.jmock.core.constraint

A collection of commonly useful constraints

See:
Description

Class Summary
And | Calculates the logical conjunction of two constraints.
HasProperty | Constraint that checks that an object has a JavaBean property with the specified name.
HasPropertyWithValue | Constraint that asserts that a JavaBean property on an argument passed to the mock object meets the provided constraint.
HasToString |
IsAnything | A constraint that always returns `true`.
IsArrayContaining |
IsCloseTo | Is the value a number equal to a value within some range of acceptable error?
IsCollectionContaining |
IsCompatibleType |
IsEqual | Is the value equal to another value, as tested by the `Object.equals(java.lang.Object)` invokedMethod?
IsEventFrom | Tests if the value is an event announced by a specific object.
IsGreaterThan | Is the value greater than another `Comparable` value?
IsIn |
IsInstanceOf | Tests whether the value is an instance of a class.
IsLessThan | Is the value less than another `Comparable` value?
IsMapContaining |
IsNot | Calculates the logical negation of a constraint.
IsNothing |
IsNull | Is the value null?
IsSame | Is the value the same object as another value?
Or | Calculates the logical disjunction of two constraints.
StringContains | Tests if the argument is a string that contains a substring.
StringEndsWith | Tests if the argument is a string that contains a substring.
StringStartsWith | Tests if the argument is a string that contains a substring.
SubstringConstraint |

## Package org.jmock.core.constraint Description

A collection of commonly useful constraints

Since:
  1.0
See Also:
  `Constraint`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES