jdave.equality
Class EqualsEqualityCheck

java.lang.Object
  extended by jdave.EqualityCheck
      extended by jdave.equality.EqualsEqualityCheck
All Implemented Interfaces:
IEqualityCheck
Direct Known Subclasses:
StringEqualsEqualityCheck

public class EqualsEqualityCheck
extends EqualityCheck

Author:
Joni Freeman

Field Summary
protected  java.lang.Object expected
           
 
Constructor Summary
EqualsEqualityCheck(java.lang.Object expected)
           
 
Method Summary
 java.lang.String error(java.lang.Object actual)
           
 boolean matches(java.lang.Object actual)
           
 
Methods inherited from class jdave.EqualityCheck
verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expected

protected final java.lang.Object expected
Constructor Detail

EqualsEqualityCheck

public EqualsEqualityCheck(java.lang.Object expected)
Method Detail

matches

public boolean matches(java.lang.Object actual)

error

public java.lang.String error(java.lang.Object actual)


Copyright © 2008. All Rights Reserved.