See: Description
Class | Description |
---|---|
AllOf<T> |
Calculates the logical conjunction of multiple matchers.
|
AnyOf<T> |
Calculates the logical disjunction of multiple matchers.
|
CombinableMatcher<T> | |
CombinableMatcher.CombinableBothMatcher<X> | |
CombinableMatcher.CombinableEitherMatcher<X> | |
DescribedAs<T> |
Provides a custom description to another matcher.
|
Every<T> | |
Is<T> |
Decorates another Matcher, retaining the behaviour but allowing tests
to be slightly more expressive.
|
IsAnything<T> |
A matcher that always returns
true . |
IsCollectionContaining<T> | |
IsEqual<T> |
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object) invokedMethod? |
IsInstanceOf |
Tests whether the value is an instance of a class.
|
IsNot<T> |
Calculates the logical negation of a matcher.
|
IsNull<T> |
Is the value null?
|
IsSame<T> |
Is the value the same object as another value?
|
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.
|
SubstringMatcher |
Fundamental matchers of objects and values, and composite matchers.