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 TypeMethodDescriptionbooleanisCompatibleWith(Object[] parameters) Is this matcher likely to be relevant to the given parameters?Methods inherited from class org.hamcrest.core.IsAnything
anything, anything, describeTo, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hamcrest.Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, matchesMethods inherited from interface org.hamcrest.SelfDescribing
describeTo
-
Constructor Details
-
AnyParametersMatcher
public AnyParametersMatcher()
-
-
Method Details
-
isCompatibleWith
Description copied from interface:ParametersMatcherIs this matcher likely to be relevant to the given parameters?- Specified by:
isCompatibleWithin interfaceParametersMatcher- Parameters:
parameters- The parameters to be matched- Returns:
- true iff the parameters may be relevant.
-