public function ApplicationTest::testFindCommandWithAmbiguousNamespacesButUniqueName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testFindCommandWithAmbiguousNamespacesButUniqueName()
File
- vendor/
symfony/ console/ Tests/ ApplicationTest.php, line 297
Class
Namespace
Symfony\Component\Console\TestsCode
public function testFindCommandWithAmbiguousNamespacesButUniqueName() {
$application = new Application();
$application
->add(new \FooCommand());
$application
->add(new \FoobarCommand());
$this
->assertInstanceOf('FoobarCommand', $application
->find('f:f'));
}