### Question:
CodeSet implements Described { @Override public int hashCode() { return codeSet; } CodeSet(final int codeSet);  CodeSet(final int codeSet, final String description); @Override boolean equals(final Object obj); int getCodeSet(); @Override String getDescription(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testEqualsDifferentDescription() { final CodeSet other = new CodeSet(codeSetNumber, StringUtils.reverse(description)); assertThat(codeSet).isEqualTo(other); assertThat(other).isEqualTo(codeSet); assertThat(other.hashCode()).isEqualTo(codeSet.hashCode()); }