/** * Test nameOfCommand method. */ public function testNameOfCommand() { $this->given($exception = NotFoundException::nameOfCommand('bar'))->then()->variable($exception->getPrevious())->isNull(); }
/** * {@inheritdoc} */ protected function notFoundException($command) { return NotFoundException::nameOfCommand($command); }