You are here

public function ArrayInputTest::testParseOptions in Zircon Profile 8

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

@dataProvider provideOptions

File

vendor/symfony/console/Tests/Input/ArrayInputTest.php, line 60

Class

ArrayInputTest

Namespace

Symfony\Component\Console\Tests\Input

Code

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