You are here

public function InputOptionTest::testGetDescription in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Input/InputOptionTest.php \Symfony\Component\Console\Tests\Input\InputOptionTest::testGetDescription()

File

vendor/symfony/console/Tests/Input/InputOptionTest.php, line 125

Class

InputOptionTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testGetDescription() {
  $option = new InputOption('foo', 'f', null, 'Some description');
  $this
    ->assertEquals('Some description', $option
    ->getDescription(), '->getDescription() returns the description message');
}