- should_have_consistent_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If two objects are equal, they must remain equal as long as they are not modified.
- should_have_reflexive_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
The object must be equal to itself, which it would be at any given instance; unless you intentionally override the
equals method to behave otherwise.
- should_have_symmetric_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If object of one class is equal to another class object, the other class object must be equal to this class object.
- should_have_transitive_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If the first object is equal to the second object and the second object is equal to the third object; then the
first object is equal to the third object.
- should_maintain_equals_and_hashCode_contract() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If two objects are equal, then they must have the same hash code, however the opposite is NOT true.
- should_not_be_equal_to_null() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
Verifies that the implementation of the method equals
returns false
if a
null
is passed as argument.
- should_not_be_equal_to_Object_not_being_of_same_type() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-