public function ArgvInputTest::testParseOptions in Zircon Profile 8
Same name and namespace in other branches
- 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
Namespace
Symfony\Component\Console\Tests\InputCode
public function testParseOptions($input, $options, $expectedOptions, $message) {
$input = new ArgvInput($input);
$input
->bind(new InputDefinition($options));
$this
->assertEquals($expectedOptions, $input
->getOptions(), $message);
}