public function ApplicationTest::testGetNamespaces in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testGetNamespaces()
File
- vendor/
symfony/ console/ Tests/ ApplicationTest.php, line 188
Class
Namespace
Symfony\Component\Console\TestsCode
public function testGetNamespaces() {
$application = new Application();
$application
->add(new \FooCommand());
$application
->add(new \Foo1Command());
$this
->assertEquals(array(
'foo',
), $application
->getNamespaces(), '->getNamespaces() returns an array of unique used namespaces');
}