public function HelperSetTest::testGetCommand in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/HelperSetTest.php \Symfony\Component\Console\Tests\Helper\HelperSetTest::testGetCommand()
@covers \Symfony\Component\Console\Helper\HelperSet::getCommand
File
- vendor/
symfony/ console/ Tests/ Helper/ HelperSetTest.php, line 106
Class
Namespace
Symfony\Component\Console\Tests\HelperCode
public function testGetCommand() {
$cmd = new Command('foo');
$helperset = new HelperSet();
$helperset
->setCommand($cmd);
$this
->assertEquals($cmd, $helperset
->getCommand(), '->getCommand() retrieves stored command');
}