@Test(dataProvider = "trueDuplicatesData")
public void shouldHaveSameHashCodeAsTrueDuplicates(RankableObjectWithFields r,
    RankableObjectWithFields trueDuplicate) {

  assertThat(r.hashCode()).isEqualTo(trueDuplicate.hashCode());
}