### Question:
InstantRangeRandomizer extends AbstractRangeRandomizer<Instant> { @Override public Instant getRandomValue() { long minEpochMillis = min.toEpochMilli(); long maxEpochMillis = max.toEpochMilli(); long randomEpochMillis = (long) nextDouble(minEpochMillis, maxEpochMillis); return Instant.ofEpochMilli(randomEpochMillis); } InstantRangeRandomizer(final Instant min, final Instant max);  InstantRangeRandomizer(final Instant min, final Instant max, long seed); static InstantRangeRandomizer aNewInstantRangeRandomizer(final Instant min, final Instant max); static InstantRangeRandomizer aNewInstantRangeRandomizer(final Instant min, final Instant max, final long seed); @Override Instant getRandomValue();  }### Answer:
@Test void generatedInstantShouldNotBeNull() { assertThat(randomizer.getRandomValue()).isNotNull(); }
@Test void generatedInstantShouldBeWithinSpecifiedRange() { assertThat(randomizer.getRandomValue()).isBetween(minInstant, maxInstant); }