### Question:
DefaultClock extends DefaultTemporalReferenceSystem implements Clock { @Override public String toString() { StringBuilder s = new StringBuilder("Clock:").append('\n'); if (referenceEvent != null) { s.append("referenceEvent:").append(referenceEvent).append('\n'); } if (referenceTime != null) { s.append("referenceTime:").append(referenceTime).append('\n'); } if (utcReference != null) { s.append("utcReference:").append(utcReference).append('\n'); } if (dateBasis != null) { s.append("dateBasis:").append(dateBasis).append('\n'); } return s.toString(); } DefaultClock(Map<String, ?> properties,
            ClockTime referenceTime, ClockTime utcReference, Collection<Calendar> dateBasis); private  DefaultClock(); private  DefaultClock(final Clock object); static DefaultClock castOrCopy(final Clock object); @Override @XmlElement(name = "referenceEvent", required = true) InternationalString getReferenceEvent(); @Override ClockTime getReferenceTime(); @Override ClockTime getUTCReference(); @XmlElement(name = "dateBasis") Collection<Calendar> getDateBasis(); @Override ClockTime clkTrans(final ClockTime uTime); @Override ClockTime utcTrans(final ClockTime clkTime); @Override boolean equals(Object object, ComparisonMode mode); @Override String toString();  }### Answer:
@Test public void testToString() { String result = clock1.toString(); assertFalse(clock2.toString().equals(result)); }