org.unitils.objectvalidation
Class EqualsHashCodeValidator
java.lang.Object
org.unitils.objectvalidation.EqualsHashCodeValidator
public class EqualsHashCodeValidator
- extends Object
Validate the equals and hashCode method.
This validator is created through the process of validation of an object : ObjectValidator.validate()
It has to receive a specific class and the list of fields that are in the equals and hashCode method.
It will generate a different object per field and compare them all to check if they are not equals.
- Since:
- Oct 31, 2013
- Author:
- Matthieu Mestrez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EqualsHashCodeValidator
public EqualsHashCodeValidator(ObjectCreator objectCreator,
ObjectCloner objectCloner)
Copyright © 2013-2015. All Rights Reserved.