You are here

public function ApplicationTest::testFindAlternativeExceptionMessageSingle in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testFindAlternativeExceptionMessageSingle()

@dataProvider provideInvalidCommandNamesSingle @expectedException \InvalidArgumentException @expectedExceptionMessage Did you mean this

File

vendor/symfony/console/Tests/ApplicationTest.php, line 319

Class

ApplicationTest

Namespace

Symfony\Component\Console\Tests

Code

public function testFindAlternativeExceptionMessageSingle($name) {
  $application = new Application();
  $application
    ->add(new \Foo3Command());
  $application
    ->find($name);
}