### Question:
DefaultCalendarEra extends AbstractIdentifiedObject implements CalendarEra { @Override public boolean equals(Object object, ComparisonMode mode) { if (object instanceof CalendarEra) { final DefaultCalendarEra that = (DefaultCalendarEra) object; return Objects.equals(this.datingSystem, that.datingSystem) && Objects.equals(this.epochOfUse, that.epochOfUse) && Objects.equals(this.julianReference, that.julianReference) && Objects.equals(this.getName(), that.getName()) && Objects.equals(this.referenceDate, that.referenceDate) && Objects.equals(this.referenceEvent, that.referenceEvent); } return false; } DefaultCalendarEra(Map<String, ?> properties,
            final CalendarDate referenceDate, final JulianDate julianReference, final Period epochOfUse); private  DefaultCalendarEra(); private  DefaultCalendarEra(final CalendarEra object); static DefaultCalendarEra castOrCopy(final CalendarEra object); @Override @XmlElement(name = "referenceEvent", required = true) InternationalString getReferenceEvent(); @Override CalendarDate getReferenceDate(); @Override JulianDate getJulianReference(); @Override @XmlElement(name = "epochOfUse", required = true) Period getEpochOfUse(); Collection<Calendar> getDatingSystem(); void setReferenceEvent(final InternationalString referenceEvent); void setReferenceDate(final CalendarDate referenceDate); void setJulianReference(final JulianDate julianReference); void setEpochOfUse(final Period epochOfUse); void setDatingSystem(final Collection<Calendar> newValues); @Override boolean equals(Object object, ComparisonMode mode); @Override String toString();  }### Answer:
@Test public void testGetName() { Identifier result = calendarEra1.getName(); assertFalse(calendarEra2.getName().equals(result)); }
@Test public void testEquals() { assertFalse(calendarEra1.equals(null)); assertEquals(calendarEra1, calendarEra1); assertFalse(calendarEra1.equals(calendarEra2)); }