### Question:
DefaultTemporalPosition implements TemporalPosition { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultTemporalPosition) { final DefaultTemporalPosition that = (DefaultTemporalPosition) object; return Objects.equals(this.frame, that.frame) && Objects.equals(this.indeterminatePosition, that.indeterminatePosition); } return false; } DefaultTemporalPosition(final IndeterminateValue indeterminatePosition);  DefaultTemporalPosition(final TemporalReferenceSystem frame, final IndeterminateValue indeterminatePosition); @Override IndeterminateValue getIndeterminatePosition(); @Override TemporalReferenceSystem getFrame(); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testEquals() { assertFalse(temporalPosition1.equals(null)); assertEquals(temporalPosition1, temporalPosition1); assertFalse(temporalPosition1.equals(temporalPosition2)); }