You are here

public function CommandTest::testCommandNameCannotBeEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Command/CommandTest.php \Symfony\Component\Console\Tests\Command\CommandTest::testCommandNameCannotBeEmpty()

@expectedException \LogicException @expectedExceptionMessage The command defined in "Symfony\Component\Console\Command\Command" cannot have an empty name.

File

vendor/symfony/console/Tests/Command/CommandTest.php, line 46

Class

CommandTest

Namespace

Symfony\Component\Console\Tests\Command

Code

public function testCommandNameCannotBeEmpty() {
  new Command();
}