public function CommandTest::testInvalidCommandNames 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::testInvalidCommandNames()
@dataProvider provideInvalidCommandNames
File
- vendor/
symfony/ console/ Tests/ Command/ CommandTest.php, line 102
Class
Namespace
Symfony\Component\Console\Tests\CommandCode
public function testInvalidCommandNames($name) {
$this
->setExpectedException('InvalidArgumentException', sprintf('Command name "%s" is invalid.', $name));
$command = new \TestCommand();
$command
->setName($name);
}