### Question:
DefaultOrdinalEra extends AbstractIdentifiedObject implements OrdinalEra { @Override public Date getEnd() { return end; } 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 testGetEnd() { Date result = ordinalEra1.getEnd(); assertFalse(ordinalEra2.getEnd().equals(result)); }