public function testParseNoSupports() { $this->parserMock->supports()->willReturn(false)->shouldBeCalledTimes(1); $this->parserMock->parse($this->inputMock->reveal(), $this->outputMock->reveal())->shouldNotBeCalled(); $this->commandParserChain->parse($this->inputMock->reveal(), $this->outputMock->reveal()); }
/** * {@inheritdoc} */ protected function interact(InputInterface $input, OutputInterface $output) { $this->commandParserChain->parse($input, $output); }