[Console] minor addition to #20817 for branch 3.2
This commit is contained in:
parent
f4a635957e
commit
700344a993
@ -92,6 +92,13 @@ class CommandTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->assertTrue($command->getDefinition()->hasOption('foo'), '->addOption() adds an option to the command');
|
$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()
|
public function testGetNamespaceGetNameSetName()
|
||||||
{
|
{
|
||||||
$command = new \TestCommand();
|
$command = new \TestCommand();
|
||||||
|
Reference in New Issue
Block a user