@Test
public void mediaCodec_releaseOutputBuffer_doRenderVariableMustBeTrue() {

    IMediaCodec mediaCodec = create.mediaCodec()
            .withDequeueOutputBufferIndex(1)
            .construct();
    VideoDecoder decoder = create.videoDecoder()
            .with(mediaCodec)
            .construct();
    ISurfaceWrapper surface = create.surfaceContainer().construct();
    decoder.setOutputSurface(surface);
    decoder.releaseOutputBuffer(1);
    verify(mediaCodec).releaseOutputBuffer(eq(1), eq(true));
}