### Question:
KarmaPointOutboundEvent extends PersonalProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getUserId(), getPointsTotal(), getPlateau()); } KarmaPointOutboundEvent();  KarmaPointOutboundEvent(KarmaPointOutboundEvent template); String getUserId(); void setUserId(String userId); long getPointsTotal(); void setPointsTotal(long pointsTotal); long getPlateau(); void setPlateau(long plateau); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); CommunityProfileOutboundEvent testObject = getTestObject(); assertTrue(testObject.hashCode() != 0); CommunityProfileOutboundEvent differentObject = getTestObject(); differentObject.setEventVersionId(3773L); assertFalse(testObject.hashCode() == differentObject.hashCode()); }