### Question:
DefaultOrdinalEra extends AbstractIdentifiedObject implements OrdinalEra { @Override public String toString() { StringBuilder s = new StringBuilder(super.toString()).append('\n').append("OrdinalEra:").append('\n'); if (begin != null) { s.append("beginning:").append(begin).append('\n'); } if (end != null) { s.append("end:").append(end).append('\n'); } if (member != null) { s.append("composition:").append(member).append('\n'); } if (group != null) { s.append("group:").append(group.getName().toString() ).append('\n'); } return s.toString(); } DefaultOrdinalEra(final Map<String, ?> properties, final Date beginning, final Date end);  DefaultOrdinalEra(final Map<String, ?> properties, final Date beginning,
            final Date end, final Collection<OrdinalEra> member); private  DefaultOrdinalEra(); private  DefaultOrdinalEra(final OrdinalEra object); static DefaultOrdinalEra castOrCopy(final OrdinalEra object); @Override Date getBegin(); @Override // @XmlElement(name = "end") Date getEnd(); @Override @XmlElement(name = "member") Collection<OrdinalEra> getMember(); DefaultOrdinalEra getGroup(); void setGroup(final DefaultOrdinalEra group); @Override boolean equals(Object object, ComparisonMode mode); @Override String toString();  }### Answer:
@Test public void testToString() { String result = ordinalEra1.toString(); assertFalse(ordinalEra2.toString().equals(result)); }