public function InputDefinitionTest::testGetArgument in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputDefinitionTest.php \Symfony\Component\Console\Tests\Input\InputDefinitionTest::testGetArgument()
File
- vendor/
symfony/ console/ Tests/ Input/ InputDefinitionTest.php, line 124
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testGetArgument() {
$this
->initializeArguments();
$definition = new InputDefinition();
$definition
->addArguments(array(
$this->foo,
));
$this
->assertEquals($this->foo, $definition
->getArgument('foo'), '->getArgument() returns a InputArgument by its name');
}