You are here

public function InputDefinitionTest::testGetOptionForInvalidShortcut in Zircon Profile 8

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

@expectedException \InvalidArgumentException @expectedExceptionMessage The "-l" option does not exist.

File

vendor/symfony/console/Tests/Input/InputDefinitionTest.php, line 324

Class

InputDefinitionTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testGetOptionForInvalidShortcut() {
  $this
    ->initializeOptions();
  $definition = new InputDefinition(array(
    $this->foo,
  ));
  $definition
    ->getOptionForShortcut('l');
}