### Question:
FavouriteCollectionOutboundEvent extends PersonalProfileOutboundEvent { @Override public String toString() { return "FavouriteCollectionOutboundEvent{" + "userId='" + userId + '\'' + ", memberGUID='" + memberGUID + '\'' + ", memberType='" + memberType + '\'' + ", personalProfile=" + getPersonalProfile() + ", eventType=" + getEventType() + ", eventVersionId=" + getEventVersionId() + '}'; } FavouriteCollectionOutboundEvent();  FavouriteCollectionOutboundEvent(CommunityProfileOutboundEventType  type,
                                            PersonalProfile                    bean,
                                            String                             userId,
                                            String                             memberGUID,
                                            String                             memberTypeName);  FavouriteCollectionOutboundEvent(FavouriteCollectionOutboundEvent template); String getUserId(); void setUserId(String userId); String getMemberGUID(); void setMemberGUID(String memberGUID); String getMemberType(); void setMemberType(String memberTypeName); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("FavouriteCollectionOutboundEvent")); }