Uses of Interface org.easymock.IArgumentMatcher (EasyMock 5.5.0 API)
Date: 2024-11-17

## Uses of Interface
org.easymock.IArgumentMatcher

- Packages that use IArgumentMatcher
  Package | Description
  --- | ---
  org.easymock |
  org.easymock.internal |
  org.easymock.internal.matchers |

- - ### Uses of IArgumentMatcher in org.easymock

    Methods in org.easymock with parameters of type IArgumentMatcher
    Modifier and Type | Method and Description
    --- | ---
    `static void` | EasyMock.`reportMatcher(IArgumentMatcher matcher)` Reports an argument matcher.

  - ### Uses of IArgumentMatcher in org.easymock.internal

    Methods in org.easymock.internal that return types with arguments of type IArgumentMatcher
    Modifier and Type | Method and Description
    --- | ---
    `static List<IArgumentMatcher>` | LastControl.`pullMatchers()`

    Methods in org.easymock.internal with parameters of type IArgumentMatcher
    Modifier and Type | Method and Description
    --- | ---
    `static void` | LastControl.`reportMatcher(IArgumentMatcher matcher)`

    Constructor parameters in org.easymock.internal with type arguments of type IArgumentMatcher
    Constructor and Description
    `ExpectedInvocation(Invocation invocation, List<IArgumentMatcher> matchers)`

  - ### Uses of IArgumentMatcher in org.easymock.internal.matchers

    Classes in org.easymock.internal.matchers that implement IArgumentMatcher
    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.

    Constructors in org.easymock.internal.matchers with parameters of type IArgumentMatcher
    Constructor and Description
    `Not(IArgumentMatcher first)`

    Constructor parameters in org.easymock.internal.matchers with type arguments of type IArgumentMatcher
    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.