| Modifier and Type | Class and Description |
|---|---|
| public class | And
Matches if all given argument matchers match. |
| public class | Any
Matches any argument. |
| public class | ArrayEquals
Matches if the argument is an array where the elements are equal to the given array. |
| public class | Captures<
Type of the value captured T>Captures the argument to retrieve it later and matches anything. |
| public class | Compare<
type of the values compared T>Matches if the argument, when compared ( |
| public class | CompareEqual<
Type of the values compared T extends ComparableMatches if the argument is equal when compared (as in |
| public abstract class | CompareTo<
Type of the values compared T extends ComparableBase class for matchers that are comparing a value to another. |
| public class | Contains
Matches if the argument is a string containing a given substring. |
| public class | EndsWith
Matches if the argument is a string ending with a given suffix. |
| public class | Equals
Matches if the argument is equal to the given value. |
| public class | EqualsWithDelta
Matches if the argument is a number equal to the given value with some tolerance equal to delta. |
| public class | Find
Matches if the argument is a string in which a regex can be found. |
| public class | GreaterOrEqual<
Type of the values compared T extends ComparableMatches if the argument is greater or equal to the given value. |
| public class | GreaterThan<
Type of the values compared T extends ComparableMatches if the argument is strictly greater than the given value. |
| public class | InstanceOf
Matches if the argument is an instance of the given class. |
| public class | LessOrEqual<
Type of the values compared T extends ComparableMatches if the argument is less or equal to the given value. |
| public class | LessThan<
Type of the values compared T extends ComparableMatch if the argument is less than the given value. |
| public class | Matches
Matches if the argument is a string matching a given regex. |
| public class | Not
Matches if the argument DOESN'T match another. |
| public class | NotNull
Matches if the argument is not null. |
| public class | Null
Matches if the argument is null. |
| public class | Or
Matches if any given argument matcher matches. |
| public class | Same
Matches if the argument is the same instance as the given value. |
| public class | StartsWith
Matches if the argument is a string starting with the given prefix. |