### Question:
TermCodeSystemVersion implements Serializable { @Override public int hashCode() { HashCodeBuilder b = new HashCodeBuilder(17, 37); b.append(myCodeSystemVersionId); b.append(myCodeSystemPid); return b.toHashCode(); } TermCodeSystemVersion(); TermCodeSystem getCodeSystem(); TermCodeSystemVersion setCodeSystem(TermCodeSystem theCodeSystem); String getCodeSystemVersionId(); TermCodeSystemVersion setCodeSystemVersionId(String theCodeSystemVersionId); Collection<TermConcept> getConcepts(); Long getPid(); ResourceTable getResource(); TermCodeSystemVersion setResource(ResourceTable theResource); TermCodeSystemVersion setId(Long theId); @Override boolean equals(Object theO); @Override int hashCode(); String getCodeSystemDisplayName(); void setCodeSystemDisplayName(String theCodeSystemDisplayName); TermConcept addConcept(); @Override String toString(); static final String IDX_CODESYSTEM_AND_VER; static final int MAX_VERSION_LENGTH; }### Answer:
@Test public void testHashCode() { TermCodeSystemVersion csv1 = new TermCodeSystemVersion().setCodeSystemVersionId("1").setCodeSystemPidForUnitTest(123L); assertEquals(25209, csv1.hashCode()); }