// Alas, mixing and matching live code with mocks
ResourceDigestGenerator generator = mockResourceDigestGenerator();
InvalidationListener listener = mockInvalidationListener();
File f = createTestFile();
URL url = f.toURL();
Resource r = mockResource();
long lastUpdated = f.lastModified();
lastUpdated -= lastUpdated % 1000;
train_getPath(r, PATH);