InfoItemReference { @Override public int hashCode() { return Objects.hash(_className, _infoItemIdentifier); } InfoItemReference(
		String className, InfoItemIdentifier infoItemIdentifier);  InfoItemReference(String className, long classPK); @Override boolean equals(Object object); String getClassName(); long getClassPK(); InfoItemIdentifier getInfoItemIdentifier(); @Override int hashCode(); @Override String toString();  }
@Test public void testHashCode() { InfoItemReference infoItemReference1 = new InfoItemReference( "className", 12354L); InfoItemReference infoItemReference2 = new InfoItemReference( "className", 12354L); Assert.assertEquals( infoItemReference1.hashCode(), infoItemReference2.hashCode()); }
@Test public void testHashCodeWithDifferentClassName() { InfoItemReference infoItemReference1 = new InfoItemReference( "className1", 12354L); InfoItemReference infoItemReference2 = new InfoItemReference( "className2", 12354L); Assert.assertNotEquals( infoItemReference1.hashCode(), infoItemReference2.hashCode()); }
@Test public void testHashCodeWithDifferentClassPK() { InfoItemReference infoItemReference1 = new InfoItemReference( "className", 12354L); InfoItemReference infoItemReference2 = new InfoItemReference( "className", 22354L); Assert.assertNotEquals( infoItemReference1.hashCode(), infoItemReference2.hashCode()); }