### Question:
PersonalProfileOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getPersonalProfile()); } PersonalProfileOutboundEvent();  PersonalProfileOutboundEvent(PersonalProfileOutboundEvent template); PersonalProfile getPersonalProfile(); void setPersonalProfile(PersonalProfile personalProfile); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); PersonalProfileOutboundEvent testObject = getTestObject(); assertTrue(testObject.hashCode() != 0); PersonalProfileOutboundEvent differentObject = getTestObject(); differentObject.setEventVersionId(3773L); assertFalse(testObject.hashCode() == differentObject.hashCode()); }