public function ArrayInputTest::testParseArguments in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Input/ArrayInputTest.php \Symfony\Component\Console\Tests\Input\ArrayInputTest::testParseArguments()
File
- vendor/
symfony/ console/ Tests/ Input/ ArrayInputTest.php, line 50
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testParseArguments() {
$input = new ArrayInput(array(
'name' => 'foo',
), new InputDefinition(array(
new InputArgument('name'),
)));
$this
->assertEquals(array(
'name' => 'foo',
), $input
->getArguments(), '->parse() parses required arguments');
}