### Question:
ActualTimestampProvider implements ModificationTimeProvider { @Override public Instant get(Path local, AbsoluteUnixPath inContainer) { try { return Files.getLastModifiedTime(local).toInstant(); } catch (IOException ex) { throw new RuntimeException(local.toString(), ex); } }  @Override Instant get(Path local, AbsoluteUnixPath inContainer);  }### Answer:
@Test public void testApply_file() { Assert.assertEquals( file.lastModified() / 1000, fixture.get(file.toPath(), AbsoluteUnixPath.get("/")).getEpochSecond()); }
@Test public void testApply_directory() { Assert.assertEquals( directory.lastModified() / 1000, fixture.get(directory.toPath(), AbsoluteUnixPath.get("/")).getEpochSecond()); }