You are here

public function ArgvInputTest::testParseOptions in Zircon Profile 8

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

@dataProvider provideOptions

File

vendor/symfony/console/Tests/Input/ArgvInputTest.php, line 45

Class

ArgvInputTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testParseOptions($input, $options, $expectedOptions, $message) {
  $input = new ArgvInput($input);
  $input
    ->bind(new InputDefinition($options));
  $this
    ->assertEquals($expectedOptions, $input
    ->getOptions(), $message);
}