### Question:
JarResourceFile extends FileSystemFile { @Override public long getLastModifiedTime () { return System.currentTimeMillis() / 1000; } JarResourceFile(Resource resource, boolean isExecutable); @Override boolean isFile(); @Override long getLength(); @Override InputStream getInputStream(); @Override long getLastAccessTime(); @Override long getLastModifiedTime(); @Override int getPermissions();  }### Answer:
@Test public void getLastModifiedTime () { long before = System.currentTimeMillis() / 1000; long actual = jarResourceFile.getLastModifiedTime(); long after = System.currentTimeMillis() / 1000; assertFalse(before > actual); assertFalse(after < actual); }