@Test
public void filesInCacheAreNotDeleted()
{

    cleaner.setMaxDeleteWatchCount(0);
    
    // The SlowContentStore will always give out content when asked,
    // so asking for any content will cause something to be cached.
    String url = makeContentUrl();
    int numFiles = 50;
    for (int i = 0; i < numFiles; i++)
    {
        ContentReader reader = cachingStore.getReader(url);
        reader.getContentString();
    }
    
    cleaner.execute();
    
    for (int i = 0; i < numFiles; i++)
    {
        File cacheFile = new File(cache.getCacheFilePath(url));
        assertTrue("File should exist", cacheFile.exists());
    }
}