@Test
public void setInputSizeToSurface() {

    MultipleMediaSource multipleMediaSource = create.multipleMediaSource().withFrameSize(400, 300).construct();
    VideoDecoder decoder = create.videoDecoder().construct();
    ISurface surface = create.surface().construct();
    decoder.setOutputSurface(surface);
    new ConfigureVideoDecoderCommandHandler(multipleMediaSource, decoder).handle();
    verify(surface).setInputSize(eq(400), eq(300));
}