public function ApplicationTest::testFindUniqueNameButNamespaceName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testFindUniqueNameButNamespaceName()
@expectedException \InvalidArgumentException @expectedExceptionMessage Command "foo1" is not defined
File
- vendor/
symfony/ console/ Tests/ ApplicationTest.php, line 241
Class
Namespace
Symfony\Component\Console\TestsCode
public function testFindUniqueNameButNamespaceName() {
$application = new Application();
$application
->add(new \FooCommand());
$application
->add(new \Foo1Command());
$application
->add(new \Foo2Command());
$application
->find($commandName = 'foo1');
}