@Test
public void canFreezeTimeForTests() {

    Instant i = Instant.now();
    Util.freezeClock(i);
    TestRequest r1 = new TestRequest();
    TestRequest r2 = new TestRequest();
    assertEquals(r1.getCreationTime(), r2.getCreationTime());
    Util.freezeClock(i.plus(50, ChronoUnit.MINUTES));
    TestRequest r3 = new TestRequest();
    assertEquals(50L, ChronoUnit.MINUTES.between(r1.getCreationTime(), r3.getCreationTime()));
}