@Test
public void dayBefore() {

    DelayedDailyPathComputer computer = new DelayedDailyPathComputer(Duration.ofHours(2));
    Assert.assertEquals("1987-08-12", computer.apply(LocalDateTime.parse("1987-08-13T00:00:00")));
    Assert.assertEquals("1987-08-12", computer.apply(LocalDateTime.parse("1987-08-13T01:59:59")));
}