private void setupInputProducerStreamingSuccessWithStatusFlags(
      final @Consumer.Status int statusFlags) {
    doAnswer(
            new ProduceResultsNewResultAnswer(
                statusFlags, Arrays.asList(mIntermediateImageReference, mFinalImageReference)))
        .when(mInputProducer)
        .produceResults(any(Consumer.class), eq(mProducerContext));
  }
Verify that stateful image results, both intermediate and final, are never cached.
imagepipeline/src/test/java/com/facebook/imagepipeline/producers/BitmapMemoryCacheProducerTest.java