assert cacheLoader.containsKey(new FileListCacheKey(indexName));
String[] fileNamesFromIndexDir = TestHelper.getFileNamesFromDir(rootDir, indexName);
for(String fileName : fileNamesFromIndexDir) {
assert !cacheLoader.containsKey(new FileReadLockKey(indexName, fileName)) : "Failed for " + fileName;
assert cacheLoader.containsKey(new ChunkCacheKey(indexName, fileName, 0, 1024)) : "Failed for " + fileName;
}
assert !cacheLoader.containsKey(new ChunkCacheKey(indexName, "testFile.txt", 0, 1024));
}