public function ApplicationTest::testAddCommandWithEmptyConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::testAddCommandWithEmptyConstructor()
@expectedException \LogicException @expectedExceptionMessage Command class "Foo5Command" is not correctly initialized. You probably forgot to call the parent constructor.
File
- vendor/
symfony/ console/ Tests/ ApplicationTest.php, line 138
Class
Namespace
Symfony\Component\Console\TestsCode
public function testAddCommandWithEmptyConstructor() {
$application = new Application();
$application
->add(new \Foo5Command());
}