public function testConsuming() { $input = new ArrayInput([]); $output = new BufferedOutput(); $this->consumer->expects($this->once())->method('initialize'); $this->command->run($input, $output); }
/** * {@inheritdoc} */ public function execute(InputInterface $input, OutputInterface $output) { $this->consumer->consume(); }