Class ParameterMatcher

  • All Implemented Interfaces:
    org.easymock.ArgumentsMatcher

    public class ParameterMatcher
    extends org.easymock.AbstractMatcher
    AbstractMatcher
    Author:
    Daniel Sagenschneider
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Match equals
      Match that provides equals
      static Match type
      Match that provides type matching.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.Object[] expected, java.lang.Object[] actual)  
      • Methods inherited from class org.easymock.AbstractMatcher

        argumentMatches, argumentToString, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • equals

        public static Match equals
        Match that provides equals
      • type

        public static Match type
        Match that provides type matching.
    • Constructor Detail

      • ParameterMatcher

        public ParameterMatcher​(Match... matches)
        Initiate.
        Parameters:
        matches - Match instances for matching the parameters.
    • Method Detail

      • matches

        public boolean matches​(java.lang.Object[] expected,
                               java.lang.Object[] actual)
        Specified by:
        matches in interface org.easymock.ArgumentsMatcher
        Overrides:
        matches in class org.easymock.AbstractMatcher