@Test public void testSetGroup() { DefaultOrdinalEra result = ((DefaultOrdinalEra) ordinalEra1).getGroup(); cal.set(1900, 0, 0); ((DefaultOrdinalEra) ordinalEra1).setGroup(new DefaultOrdinalEra(new SimpleInternationalString(""), cal.getTime(), new Date())); assertFalse(((DefaultOrdinalEra) ordinalEra1).getGroup().equals(result)); }
public void setGroup(DefaultOrdinalEra group) { this.group = group; }
DefaultOrdinalEra implements OrdinalEra { public void setGroup(DefaultOrdinalEra group) { this.group = group; } }
DefaultOrdinalEra implements OrdinalEra { public void setGroup(DefaultOrdinalEra group) { this.group = group; } DefaultOrdinalEra(InternationalString name, Date beginning, Date end);  DefaultOrdinalEra(InternationalString name, Date beginning, Date end, Collection<OrdinalEra> composition); }
DefaultOrdinalEra implements OrdinalEra { public void setGroup(DefaultOrdinalEra group) { this.group = group; } 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 setGroup(DefaultOrdinalEra group) { this.group = group; } 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();  }