### Question:
DefaultCalendar extends DefaultTemporalReferenceSystem implements Calendar { @Override public String toString() { StringBuilder s = new StringBuilder(super.toString()).append('\n').append("Calendar : ").append('\n'); if (timeBasis != null) { s.append("clock:").append(timeBasis).append('\n'); } if (referenceFrame != null) { s.append("basis:").append(referenceFrame).append('\n'); } return super.toString().concat("\n").concat(s.toString()); } DefaultCalendar(Map<String, ?> properties,
                           Collection<CalendarEra> referenceFrame, Clock timeBasis ); private  DefaultCalendar(); private  DefaultCalendar(final Calendar object); static DefaultCalendar castOrCopy(final Calendar object); @Override JulianDate dateTrans(final CalendarDate calDate, final ClockTime time); JulianDate dateTrans(final DateAndTime dateAndTime); @Override CalendarDate julTrans(final JulianDate jdt); @Override boolean equals(Object object, ComparisonMode mode); @Override String toString(); @Override @XmlElement(name = "referenceFrame", required = true) Collection<CalendarEra> getReferenceFrame(); @Override Clock getTimeBasis();  }### Answer:
@Test public void testToString() { String result = calendar1.toString(); assertFalse(calendar2.toString().equals(result)); }