### Question:
DefaultTemporalCoordinate extends DefaultTemporalPosition implements TemporalCoordinate { @Override public String toString() { StringBuilder s = new StringBuilder("TemporalCoordinate:").append('\n'); if (getFrame() != null){ s.append("TemporalReferenceSystem:").append(getFrame()).append('\n'); } if(getIndeterminatePosition() != null) { s.append("IndeterminateValue:").append(getIndeterminatePosition()).append('\n'); } if (coordinateValue != null) { s.append("coordinateValue:").append(coordinateValue).append('\n'); } return s.toString(); } DefaultTemporalCoordinate(final TemporalReferenceSystem frame, final IndeterminateValue indeterminatePosition, final Number coordinateValue); Number getCoordinateValue(); void setCoordinateValue(final Number coordinateValue); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testToString() { String result = temporalCoordinate1.toString(); assertFalse(temporalCoordinate2.toString().equals(result)); }