public function ListCommandTest::testExecuteListsCommandsWithRawOption in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Command/ListCommandTest.php \Symfony\Component\Console\Tests\Command\ListCommandTest::testExecuteListsCommandsWithRawOption()
File
- vendor/
symfony/ console/ Tests/ Command/ ListCommandTest.php, line 36
Class
Namespace
Symfony\Component\Console\Tests\CommandCode
public function testExecuteListsCommandsWithRawOption() {
$application = new Application();
$commandTester = new CommandTester($command = $application
->get('list'));
$commandTester
->execute(array(
'command' => $command
->getName(),
'--raw' => true,
));
$output = <<<EOF
help Displays help for a command
list Lists commands
EOF;
$this
->assertEquals($output, $commandTester
->getDisplay(true));
}