This example shows how to combine ArchUnit and EqualsVerifier to test all equals and hashCode implementations within a single test class.
This project contains the code examples referring to this blog post.
- The source-folder contains some value objects with/without equals- and hashCode-Methods.
- The test-folder contains the test class
EqualsHashcodeTest
with detailed notes and comments.