org.easymock.internal
Class ArrayMatcher

java.lang.Object
  extended by org.easymock.AbstractMatcher
      extended by org.easymock.internal.ArrayMatcher
All Implemented Interfaces:
java.io.Serializable, ArgumentsMatcher

public class ArrayMatcher
extends AbstractMatcher

See Also:
Serialized Form

Constructor Summary
ArrayMatcher()
           
 
Method Summary
 boolean argumentMatches(java.lang.Object expected, java.lang.Object actual)
          Checks whether an expected argument matches an actual argument; the method is used by AbstractMatcher.matches(Object[], Object[]).
 
Methods inherited from class org.easymock.AbstractMatcher
argumentToString, matches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayMatcher

public ArrayMatcher()
Method Detail

argumentMatches

public boolean argumentMatches(java.lang.Object expected,
                               java.lang.Object actual)
Description copied from class: AbstractMatcher
Checks whether an expected argument matches an actual argument; the method is used by AbstractMatcher.matches(Object[], Object[]). The arguments provided to this method are always not null.

Overrides:
argumentMatches in class AbstractMatcher
Parameters:
expected - the expected argument.
actual - the actual argument.
Returns:
true if the arguments match, false otherwise.


Copyright © 2001-2009 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the MIT licence.]]>