Package org.jmock.internal
Class InvocationExpectation.AnyParametersMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<Object[]>
,org.hamcrest.SelfDescribing
,ParametersMatcher
- Enclosing class:
InvocationExpectation
private static class InvocationExpectation.AnyParametersMatcher
extends org.hamcrest.core.IsAnything<Object[]>
implements ParametersMatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isCompatibleWith
(Object[] parameters) Is this matcher likely to be relevant to the given parameters?Methods inherited from class org.hamcrest.core.IsAnything
anything, anything, describeTo, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hamcrest.Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, matches
Methods inherited from interface org.hamcrest.SelfDescribing
describeTo
-
Constructor Details
-
AnyParametersMatcher
public AnyParametersMatcher()
-
-
Method Details
-
isCompatibleWith
Description copied from interface:ParametersMatcher
Is this matcher likely to be relevant to the given parameters?- Specified by:
isCompatibleWith
in interfaceParametersMatcher
- Parameters:
parameters
- The parameters to be matched- Returns:
- true iff the parameters may be relevant.
-