| Package | Description |
|---|---|
| org.easymock | |
| org.easymock.internal | |
| org.easymock.internal.matchers |
| Modifier and Type | Method and Description |
|---|---|
static void |
EasyMock.reportMatcher(IArgumentMatcher matcher)
Reports an argument matcher.
|
| Modifier and Type | Method and Description |
|---|---|
static List<IArgumentMatcher> |
LastControl.pullMatchers() |
| Modifier and Type | Method and Description |
|---|---|
static void |
LastControl.reportMatcher(IArgumentMatcher matcher) |
| Constructor and Description |
|---|
ExpectedInvocation(Invocation invocation,
List<IArgumentMatcher> matchers) |
| Modifier and Type | Class and Description |
|---|---|
class |
And
Matches if all given argument matchers match.
|
class |
Any
Matches any argument.
|
class |
ArrayEquals
Matches if the argument is an array where the elements are equal to the given array.
|
class |
Captures<T>
Captures the argument to retrieve it later and matches anything.
|
class |
Compare<T>
Matches if the argument, when compared (
Comparator.compare()), agrees with the logical operator. |
class |
CompareEqual<T extends Comparable<T>>
Matches if the argument is equal when compared (as in
Comparable.compareTo() == 0) to the given value. |
class |
CompareTo<T extends Comparable<T>>
Base class for matchers that are comparing a value to another.
|
class |
Contains
Matches if the argument is a string containing a given substring.
|
class |
EndsWith
Matches if the argument is a string ending with a given suffix.
|
class |
Equals
Matches if the argument is equal to the given value.
|
class |
EqualsWithDelta
Matches if the argument is a number equal to the given value with some tolerance equal to delta.
|
class |
Find
Matches if the argument is a string in which a regex can be found.
|
class |
GreaterOrEqual<T extends Comparable<T>>
Matches if the argument is greater or equal to the given value.
|
class |
GreaterThan<T extends Comparable<T>>
Matches if the argument is strictly greater than the given value.
|
class |
InstanceOf
Matches if the argument is an instance of the given class.
|
class |
LessOrEqual<T extends Comparable<T>>
Matches if the argument is less or equal to the given value.
|
class |
LessThan<T extends Comparable<T>>
Match if the argument is less than the given value.
|
class |
Matches
Matches if the argument is a string matching a given regex.
|
class |
Not
Matches if the argument DOESN'T match another.
|
class |
NotNull
Matches if the argument is not null.
|
class |
Null
Matches if the argument is null.
|
class |
Or
Matches if any given argument matcher matches.
|
class |
Same
Matches if the argument is the same instance as the given value.
|
class |
StartsWith
Matches if the argument is a string starting with the given prefix.
|
| Constructor and Description |
|---|
Not(IArgumentMatcher first) |
| Constructor and Description |
|---|
And(List<IArgumentMatcher> matchers)
Creates a new And matcher from a list of matchers that should match altogether.
|
Or(List<IArgumentMatcher> matchers) |
Copyright © 2001–2024 EasyMock contributors. All rights reserved.