@Override
    public void onWriteAttempt(CacheEvent cacheEvent) {
      mRecipientListener.onWriteAttempt(duplicateEvent(cacheEvent));
    }
CacheEventListener implementation which copies the data from each event into a new instance to
work-around the recycling of the original event and forwards the copy so that assertions can be
made afterwards.
imagepipeline-base/src/test/java/com/facebook/cache/disk/DiskStorageCacheTest.java