public class HashCodeComplientRule extends Object implements Rule
| Constructor and Description |
|---|
HashCodeComplientRule(ObjectCreator randomFactory,
ObjectCloner objectCloner) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConsistency(Object object)
Checks that the hashCode is consistent with the same object.
|
void |
checkTwoEqualsObjectsProduceSameNumber(Object firstObject,
Object equalsObject)
Objects that are equal using the equals method should return the same integer.
|
void |
validate(Class<?> bean)
Will run the validations on the java class passed in parameter.
|
public HashCodeComplientRule(ObjectCreator randomFactory, ObjectCloner objectCloner)
Copyright © 2013. All Rights Reserved.