### Question:
DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate { @Override public boolean equals(final Object object) { if (object == this) { return true; } if (object instanceof DefaultCalendarDate && super.equals(object)) { final DefaultCalendarDate that = (DefaultCalendarDate) object; return Objects.equals(this.calendarDate, that.calendarDate) && Objects.equals(this.calendarEraName, that.calendarEraName); } return false; } DefaultCalendarDate(final TemporalReferenceSystem frame, final IndeterminateValue indeterminatePosition, final InternationalString calendarEraName, final int[] calendarDate); @Override InternationalString getCalendarEraName(); @Override int[] getCalendarDate(); void setCalendarEraName(final InternationalString calendarEraName); void setCalendarDate(final int[] calendarDate); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testEquals() { assertFalse(calendarDate1.equals(null)); assertEquals(calendarDate1, calendarDate1); }