public function InputDefinitionTest::testGetOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Input/InputDefinitionTest.php \Symfony\Component\Console\Tests\Input\InputDefinitionTest::testGetOption()
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 265
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testGetOption() {
$this
->initializeOptions();
$definition = new InputDefinition(array(
$this->foo,
));
$this
->assertEquals($this->foo, $definition
->getOption('foo'), '->getOption() returns a InputOption by its name');
}