@Test
public void isWithinTimeComparisonEpsilon() {

    Utils.setTimeComparisonEpsilonMicros(TimeUnit.SECONDS.toMicros(10));
    // check a value within about a millisecond from now
    long l = Utils.getSystemNowMicrosUtc() + 1000;
    assertTrue(Utils.isWithinTimeComparisonEpsilon(l));
    // check a value days from now
    l = Utils.getSystemNowMicrosUtc() + TimeUnit.DAYS.toMicros(2);
    assertFalse(Utils.isWithinTimeComparisonEpsilon(l));
}