@Test public void testSetEnd() { Date result = ordinalEra1.getEnd(); ((DefaultOrdinalEra) ordinalEra1).setEnd(new Date()); assertFalse(ordinalEra1.getEnd().equals(result)); }
public void setEnd(Date end) { this.end = end; }
DefaultOrdinalEra implements OrdinalEra { public void setEnd(Date end) { this.end = end; } }
DefaultOrdinalEra implements OrdinalEra { public void setEnd(Date end) { this.end = end; } DefaultOrdinalEra(InternationalString name, Date beginning, Date end);  DefaultOrdinalEra(
            InternationalString name,
            Date beginning,
            Date end,
            Collection<OrdinalEra> composition); }
DefaultOrdinalEra implements OrdinalEra { public void setEnd(Date end) { this.end = end; } DefaultOrdinalEra(InternationalString name, Date beginning, Date end);  DefaultOrdinalEra(
            InternationalString name,
            Date beginning,
            Date end,
            Collection<OrdinalEra> composition); InternationalString getName(); Date getBeginning(); Date getEnd(); Collection<OrdinalEra> getComposition(); void setName(InternationalString name); void setBeginning(Date beginning); void setEnd(Date end); DefaultOrdinalEra getGroup(); void setGroup(DefaultOrdinalEra group); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultOrdinalEra implements OrdinalEra { public void setEnd(Date end) { this.end = end; } DefaultOrdinalEra(InternationalString name, Date beginning, Date end);  DefaultOrdinalEra(
            InternationalString name,
            Date beginning,
            Date end,
            Collection<OrdinalEra> composition); InternationalString getName(); Date getBeginning(); Date getEnd(); Collection<OrdinalEra> getComposition(); void setName(InternationalString name); void setBeginning(Date beginning); void setEnd(Date end); DefaultOrdinalEra getGroup(); void setGroup(DefaultOrdinalEra group); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }