@Test public void testGetBegunBy() { Collection<Period> result = instant1.getBegunBy(); assertEquals(instant2.getBegunBy(), result); }
public Collection<Period> getBegunBy() { return begunBy; }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getBegunBy() { return begunBy; } }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getBegunBy() { return begunBy; } DefaultInstant(Position position); }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getBegunBy() { return begunBy; } DefaultInstant(Position position); Position getPosition(); Collection<Period> getBegunBy(); Collection<Period> getEndedBy(); void setPosition(Position position); void setBegunBy(Collection<Period> begunBy); void setEndBy(Collection<Period> endBy); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
DefaultInstant extends DefaultTemporalGeometricPrimitive implements Instant { public Collection<Period> getBegunBy() { return begunBy; } DefaultInstant(Position position); Position getPosition(); Collection<Period> getBegunBy(); Collection<Period> getEndedBy(); void setPosition(Position position); void setBegunBy(Collection<Period> begunBy); void setEndBy(Collection<Period> endBy); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }