### Question:
CommunityOutboundEvent extends CommunityProfileOutboundEvent { @Override public String toString() { return "CommunityOutboundEvent{" + "community=" + community + ", eventType=" + getEventType() + ", eventVersionId=" + getEventVersionId() + '}'; } CommunityOutboundEvent();  CommunityOutboundEvent(CommunityOutboundEvent template); Community getCommunity(); void setCommunity(Community community); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("CommunityOutboundEvent")); }