All Classes and Interfaces
Class
Description
Calculates the logical conjunction of multiple matchers.
Calculates the logical disjunction of multiple matchers.
A
Description
that is stored as a string.BaseClass for all Matcher implementations.
A Condition implements part of a multi-step match.
Utility class for writing one off matchers.
Utility class for writing one off matchers.
Provides a custom description to another matcher.
A description of a Matcher.
TODO(ngd): Document.
Supporting class for matching a feature of an object.
Matches if an array contains an item satisfying a nested matcher.
A Matcher that checks that an object has a JavaBean property
with the specified name.
Matcher that asserts that a JavaBean property on an argument passed to the
mock object meets the provided matcher.
Applies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression.
Decorates another Matcher, retaining the behaviour but allowing tests
to be slightly more expressive.
A matcher that always returns
true
.Matcher for array whose elements satisfy a sequence of matchers.
Deprecated.
Deprecated.
As of release 2.1, replaced by
ArrayMatching
.Matches if array size satisfies a nested matcher.
Matches blank Strings (and null).
Is the value a number equal to a value within some range of
acceptable error?
Deprecated.
As of release 2.1, replaced by
IsIterableContaining
.Matches if collection size satisfies a nested matcher.
Tests if collection is empty.
Tests if collection is empty.
Matches empty Strings (and null).
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object)
invokedMethod?Tests if a string is equal to another string, compressing any changes in whitespace.
Tests if a string is equal to another string, regardless of the case.
Tests if the value is an event announced by a specific object.
Tests whether the value is an instance of a class.
Matches if map size satisfies a nested matcher.
Is the value a number actually not a number (NaN)?
Calculates the logical negation of a matcher.
Is the value null?
Is the value the same object as another value?
A matcher over acceptable values.
Utility class for accessing properties on JavaBean objects.
The ability of an object to describe itself.
Tests if the argument is a string that contains a specific substring.
A
Description
that is stored as a string.Tests if the argument is a string that ends with a specific substring.
Tests if the argument is a string that starts with a specific substring.
Convenient base class for Matchers that require a non-null value of a specific type
and that will report why the received value has been rejected.
Convenient base class for Matchers that require a non-null value of a specific type.
ArrayMatching
.