@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); CommunityOutboundEvent testObject = getTestObject(); assertTrue(testObject.hashCode() != 0); CommunityOutboundEvent differentObject = getTestObject(); differentObject.setEventVersionId(3773L); assertFalse(testObject.hashCode() == differentObject.hashCode()); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), getCommunity()); }
CommunityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getCommunity()); } }
CommunityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getCommunity()); } CommunityOutboundEvent();  CommunityOutboundEvent(CommunityOutboundEvent template); }
CommunityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getCommunity()); } CommunityOutboundEvent();  CommunityOutboundEvent(CommunityOutboundEvent template); Community getCommunity(); void setCommunity(Community community); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
CommunityOutboundEvent extends CommunityProfileOutboundEvent { @Override public int hashCode() { return Objects.hash(super.hashCode(), getCommunity()); } CommunityOutboundEvent();  CommunityOutboundEvent(CommunityOutboundEvent template); Community getCommunity(); void setCommunity(Community community); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }