/** Test of getBegunBy method, of class DefaultInstant. */ @Test public void testGetBegunBy() { Collection<Period> result = instant1.getBegunBy(); assertEquals(instant2.getBegunBy(), result); }
/** Test of setBegunBy method, of class DefaultInstant. */ @Test public void testSetBegunBy() { Collection<Period> result = instant1.getBegunBy(); Collection<Period> begunby = null; ((DefaultInstant) instant1).setBegunBy(begunby); assertEquals(instant1.getBegunBy(), result); }