public void testCycle2() {
   DateDoubleTimeSeries<?> cycleObject = cycleObject(DateDoubleTimeSeries.class, ts);
   assertEquals(ImmutableLocalDateDoubleTimeSeries.class, cycleObject.getClass());
   assertEquals(ts, cycleObject);
   cycleObject =
       cycleObject(DateDoubleTimeSeries.class, ImmutableLocalDateDoubleTimeSeries.EMPTY_SERIES);
   assertEquals(ImmutableLocalDateDoubleTimeSeries.EMPTY_SERIES, cycleObject);
 }
 public void testEmptyCycle2() {
   DateDoubleTimeSeries<?> cycleObject = cycleObject(DateDoubleTimeSeries.class, empty);
   assertEquals(ImmutableLocalDateDoubleTimeSeries.class, cycleObject.getClass());
   assertEquals(empty, cycleObject);
 }