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