Class InvocationExpectation.AnyParametersMatcher

java.lang.Object
org.hamcrest.BaseMatcher<Object[]>
org.hamcrest.core.IsAnything<Object[]>
org.jmock.internal.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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

      public boolean isCompatibleWith(Object[] parameters)
      Description copied from interface: ParametersMatcher
      Is this matcher likely to be relevant to the given parameters?
      Specified by:
      isCompatibleWith in interface ParametersMatcher
      Parameters:
      parameters - The parameters to be matched
      Returns:
      true iff the parameters may be relevant.