### Question:
DefaultTemporalCoordinateSystem extends DefaultTemporalReferenceSystem implements TemporalCoordinateSystem { @Override public boolean equals(Object object, ComparisonMode mode) { if (object == this) return true; final boolean sup = super.equals(object, mode); if (!sup) return false; if (object instanceof DefaultTemporalCoordinateSystem) { final DefaultTemporalCoordinateSystem that = (DefaultTemporalCoordinateSystem) object; return Objects.equals(this.interval, that.interval) && Objects.equals(this.origin, that.origin); } return false; } DefaultTemporalCoordinateSystem(Map<String, ?> properties, Unit<Time> interval, Date origin);  DefaultTemporalCoordinateSystem(final TemporalCoordinateSystem object); static DefaultTemporalCoordinateSystem castOrCopy(final TemporalCoordinateSystem object); @Override @XmlElement(name = "originPosition", required = true) Date getOrigin(); @Override Unit<Time> getInterval(); @Override Date transformCoord(final TemporalCoordinate c_value); @Override TemporalCoordinate transformDateTime(final Date dateTime); @Override boolean equals(Object object, ComparisonMode mode); @Override String toString();  }### Answer:
@Test public void testEquals() { assertFalse(temporalCoordinateSystem1.equals(null)); assertEquals(temporalCoordinateSystem1, temporalCoordinateSystem1); assertFalse(temporalCoordinateSystem1.equals(temporalCoordinateSystem2)); }