public void testCycle1() {
   DoubleTimeSeries<?> cycleObject = cycleObject(DoubleTimeSeries.class, ts);
   assertEquals(ImmutableLocalDateDoubleTimeSeries.class, cycleObject.getClass());
   assertEquals(ts, cycleObject);
   cycleObject =
       cycleObject(DoubleTimeSeries.class, ImmutableLocalDateDoubleTimeSeries.EMPTY_SERIES);
   assertEquals(ImmutableLocalDateDoubleTimeSeries.EMPTY_SERIES, cycleObject);
 }
 public void testEmptyCycle1() {
   DoubleTimeSeries<?> cycleObject = cycleObject(DoubleTimeSeries.class, empty);
   assertEquals(ImmutableLocalDateDoubleTimeSeries.class, cycleObject.getClass());
   assertEquals(empty, cycleObject);
 }