public function ApplicationTest::testRegister in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testRegister()
File
- vendor/
symfony/ console/ Tests/ ApplicationTest.php, line 114
Class
Namespace
Symfony\Component\Console\TestsCode
public function testRegister() {
$application = new Application();
$command = $application
->register('foo');
$this
->assertEquals('foo', $command
->getName(), '->register() registers a new command');
}