private static File writeFileToStorage(
      DefaultDiskStorage storage, String resourceId, byte[] value) throws IOException {
    return writeToStorage(storage, resourceId, value).getFile();
  }
Test the iterator returned is ok and deletion through the iterator is ok too. This is the
required functionality that eviction needs.

@throws Exception
imagepipeline-base/src/test/java/com/facebook/cache/disk/DefaultDiskStorageTest.java