private void setupBitmapMemoryCacheGetSuccessOnSecondRead(
      CloseableReference<CloseableImage> closeableImageRef) {
    when(mMemoryCache.get(mBitmapMemoryCacheKey)).thenReturn(null).thenReturn(closeableImageRef);
  }
Verify that stateful image results, both intermediate and final, are never cached.
imagepipeline/src/test/java/com/facebook/imagepipeline/producers/BitmapMemoryCacheProducerTest.java