assertTrue("expect the added directory in the Timestamp persistence",
rootTSP.getTimestamps().containsKey(testDir));
long modifiedTS = createdTS + 1000;
addDir.setLastModified(modifiedTS);
// should run the timertask once
scanner.run();
Long persistedTS = new Long(rootTSP.getTimestamps().getProperty(testDir));
assertTrue("expect the new Timestamp in the persistence object",
persistedTS.longValue() > createdTS);
// Add a file to the nested directory, and check it gets noticed.