org.apache.hivemind.test
Class EqualsMatcher

java.lang.Object
  extended byorg.apache.hivemind.test.EqualsMatcher
All Implemented Interfaces:
ArgumentMatcher

public class EqualsMatcher
extends java.lang.Object
implements ArgumentMatcher

Since:
1.1
Author:
Howard M. Lewis Ship

Constructor Summary
EqualsMatcher()
           
 
Method Summary
 boolean matches(java.lang.Object expected, java.lang.Object actual)
          Simple matcher based on equals().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualsMatcher

public EqualsMatcher()
Method Detail

matches

public boolean matches(java.lang.Object expected,
                       java.lang.Object actual)
Simple matcher based on equals().

Specified by:
matches in interface ArgumentMatcher
Parameters:
expected - The expected argument value
actual - The actual argument value