Class 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
    • 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.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 Detail

      • AnyParametersMatcher

        public AnyParametersMatcher()
    • 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 interface ParametersMatcher
        Parameters:
        parameters - The parameters to be matched
        Returns:
        true iff the parameters may be relevant.