public function InputDefinitionTest::testAddDuplicateShortcutOption 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::testAddDuplicateShortcutOption()
@expectedException \LogicException @expectedExceptionMessage An option with shortcut "f" already exists.
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 256
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testAddDuplicateShortcutOption() {
$this
->initializeOptions();
$definition = new InputDefinition();
$definition
->addOption($this->foo);
$definition
->addOption($this->foo1);
}