public function InputDefinitionTest::testSetOptionsClearsOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputDefinitionTest.php \Symfony\Component\Console\Tests\Input\InputDefinitionTest::testSetOptionsClearsOptions()
@expectedException \InvalidArgumentException @expectedExceptionMessage The "-f" option does not exist.
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 209
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testSetOptionsClearsOptions() {
$this
->initializeOptions();
$definition = new InputDefinition(array(
$this->foo,
));
$definition
->setOptions(array(
$this->bar,
));
$definition
->getOptionForShortcut('f');
}