@Test
public void whenPushFrameToDecoderItNeedsData() {

    Frame frame = create.frame(1, 2, 3).construct();
    IOutput mediaSource = create.mediaSource().with(frame)
            .construct();
    mediaSource.start();
    VideoDecoder decoder = create.videoDecoder().with(create.mediaCodec().construct()).construct();
    decoder.start();
    new PushDataCommandHandler(mediaSource, decoder, decoder).handle();
    assertThat(decoder.getInputCommandQueue()).contains(Command.NeedData, 0);
}