DateSequenceValueGenerator implements ValueGenerator<ZonedDateTime> { @Override public ZonedDateTime nextValue() { ZonedDateTime result = next; next = next.plus(increment, unit); return result; } DateSequenceValueGenerator(); private  DateSequenceValueGenerator(ZonedDateTime next, int increment, TemporalUnit unit); @Deprecated DateSequenceValueGenerator startingAt(@Nonnull Date startDate, @Nonnull TimeZone timeZone); @Deprecated DateSequenceValueGenerator startingAt(@Nonnull Date startDate); @Deprecated DateSequenceValueGenerator startingAt(@Nonnull Calendar startDate); DateSequenceValueGenerator startingAt(@Nonnull String startDate); DateSequenceValueGenerator startingAt(@Nonnull LocalDate startDate); DateSequenceValueGenerator startingAt(@Nonnull LocalDateTime startDate); DateSequenceValueGenerator startingAt(@Nonnull ZonedDateTime startDate); @Deprecated DateSequenceValueGenerator incrementingBy(int increment, @Nonnull CalendarField unit); DateSequenceValueGenerator incrementingBy(int increment, @Nonnull TemporalUnit unit); @Override ZonedDateTime nextValue(); @Override String toString();  }
@Test public void startsAtToday() { ZonedDateTime date = ValueGenerators.dateSequence().nextValue(); assertEquals(LocalDate.now().atStartOfDay(ZoneId.systemDefault()), date); }