[Console] minor addition to #20817 for branch 3.2

This commit is contained in:
ShinDarth 2016-12-27 16:50:49 +01:00
parent f4a635957e
commit 700344a993

View File

@ -92,6 +92,13 @@ class CommandTest extends \PHPUnit_Framework_TestCase
$this->assertTrue($command->getDefinition()->hasOption('foo'), '->addOption() adds an option to the command');
}
public function testSetHidden()
{
$command = new \TestCommand();
$command->setHidden(true);
$this->assertTrue($command->isHidden());
}
public function testGetNamespaceGetNameSetName()
{
$command = new \TestCommand();