EqualsVerifier is a Java tool that can be used in unit tests. It verifies whether the contract for the equals and hashCode methods is met.