Package org.jmock.internal
Class InvocationExpectation.AnyParametersMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.core.IsAnything<java.lang.Object[]>
-
- org.jmock.internal.InvocationExpectation.AnyParametersMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<java.lang.Object[]>
,org.hamcrest.SelfDescribing
,ParametersMatcher
- Enclosing class:
- InvocationExpectation
private static class InvocationExpectation.AnyParametersMatcher extends org.hamcrest.core.IsAnything<java.lang.Object[]> implements ParametersMatcher
-
-
Constructor Summary
Constructors Constructor Description AnyParametersMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompatibleWith(java.lang.Object[] parameters)
Is this matcher likely to be relevant to the given parameters?-
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
-
-
-
-
Method Detail
-
isCompatibleWith
public boolean isCompatibleWith(java.lang.Object[] parameters)
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.
-
-