"
Don't mock types you don't own
TDD: Only mock types you own
Test Smell: Everything is mocked
Testing Anti-Patterns: How to Fail With 100% Test Coverage
TDD: Only mock types you own
Test Smell: Everything is mocked
Arquillian"
EqualsVerifierEqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods in a class is met. The contracts are described in the Javadoc comments for the java.lang.Object class.