@Test
  public void testIsIntermediateResultExpectedTrue() {
    mMultiplexProducer.produceResults(mConsumer1, mProducerContext1);
    assertTrue(mMultiplexedContext1.isIntermediateResultExpected());
  }
An extra flag to check we maintain other flags than just whether this is the last result
imagepipeline/src/test/java/com/facebook/imagepipeline/producers/MultiplexProducerTest.java