test_class.file: domain/src/test/java/org/m4m/domain/pipeline/ConfigureVideoDecoderCommandHandlerTest.java
test_class.identifier: ConfigureVideoDecoderCommandHandlerTest
test_class.superclass: extends TestBase
test_case.body: @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));
      }
test_case.class_method_signature: ConfigureVideoDecoderCommandHandlerTest.setInputSizeToSurface()
test_case.full_signature: @Test public void setInputSizeToSurface()
test_case.identifier: setInputSizeToSurface
test_case.invocations: construct withFrameSize multipleMediaSource construct videoDecoder construct surface setOutputSurface handle setInputSize verify eq eq
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void setInputSizeToSurface()
focal_class.declarator: output
focal_class.modifier: protected final
focal_class.original_string: protected final IVideoOutput output;
focal_class.type: IVideoOutput
focal_class.var_name: output
focal_class.declarator: input
focal_class.modifier: private final
focal_class.original_string: private final Plugin input;
focal_class.type: Plugin
focal_class.var_name: input
focal_class.file: domain/src/main/java/org/m4m/domain/pipeline/ConfigureVideoDecoderCommandHandler.java
focal_class.identifier: ConfigureVideoDecoderCommandHandler
focal_class.interfaces: implements ICommandHandler
focal_class.class_method_signature: ConfigureVideoDecoderCommandHandler.ConfigureVideoDecoderCommandHandler(IVideoOutput output, Plugin decoder)
focal_class.full_signature: public  ConfigureVideoDecoderCommandHandler(IVideoOutput output, Plugin decoder)
focal_class.identifier: ConfigureVideoDecoderCommandHandler
focal_class.modifiers: public
focal_class.parameters: (IVideoOutput output, Plugin decoder)
focal_class.signature:  ConfigureVideoDecoderCommandHandler(IVideoOutput output, Plugin decoder)
focal_class.class_method_signature: ConfigureVideoDecoderCommandHandler.handle()
focal_class.full_signature: @Override public void handle()
focal_class.identifier: handle
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void handle()
focal_method.body: @Override
      public void handle() {
          output.getOutputCommandQueue().queue(Command.HasData, input.getTrackId());
          input.setInputResolution(output.getOutputResolution());
      }
focal_method.class_method_signature: ConfigureVideoDecoderCommandHandler.handle()
focal_method.full_signature: @Override public void handle()
focal_method.identifier: handle
focal_method.invocations: queue getOutputCommandQueue getTrackId setInputResolution getOutputResolution
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void handle()