### Question:
DefaultOrdinalEra extends AbstractIdentifiedObject implements OrdinalEra { @Override public boolean equals(Object object, ComparisonMode mode) { if (object instanceof DefaultOrdinalEra) { final DefaultOrdinalEra that = (DefaultOrdinalEra) object; return Objects.equals(this.begin, that.begin) && Objects.equals(this.end, that.end) && Objects.equals(this.member, that.member) && Objects.equals(this.group, that.group); } return false; } DefaultOrdinalEra(final Map<String, ?> properties, final Date beginning, final Date end);  DefaultOrdinalEra(final Map<String, ?> properties, final Date beginning,
            final Date end, final Collection<OrdinalEra> member); private  DefaultOrdinalEra(); private  DefaultOrdinalEra(final OrdinalEra object); static DefaultOrdinalEra castOrCopy(final OrdinalEra object); @Override Date getBegin(); @Override // @XmlElement(name = "end") Date getEnd(); @Override @XmlElement(name = "member") Collection<OrdinalEra> getMember(); DefaultOrdinalEra getGroup(); void setGroup(final DefaultOrdinalEra group); @Override boolean equals(Object object, ComparisonMode mode); @Override String toString();  }### Answer:
@Test public void testGetName() { assertFalse(ordinalEra2.getName().equals(ordinalEra1.getName())); }
@Test public void testEquals() { assertFalse(ordinalEra1.equals(null)); assertEquals(ordinalEra1, ordinalEra1); assertFalse(ordinalEra1.equals(ordinalEra2)); }