public function CommandTest::testConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Command/CommandTest.php \Symfony\Component\Console\Tests\Command\CommandTest::testConstructor()
File
- vendor/
symfony/ console/ Tests/ Command/ CommandTest.php, line 36
Class
Namespace
Symfony\Component\Console\Tests\CommandCode
public function testConstructor() {
$command = new Command('foo:bar');
$this
->assertEquals('foo:bar', $command
->getName(), '__construct() takes the command name as its first argument');
}