public function InputDefinitionTest::testGetInvalidOption 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::testGetInvalidOption()
@expectedException \InvalidArgumentException @expectedExceptionMessage The "--bar" option does not exist.
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 277
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testGetInvalidOption() {
$this
->initializeOptions();
$definition = new InputDefinition(array(
$this->foo,
));
$definition
->getOption('bar');
}