public function InputArgumentTest::testGetDefault in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputArgumentTest.php \Symfony\Component\Console\Tests\Input\InputArgumentTest::testGetDefault()
File
- vendor/
symfony/ console/ Tests/ Input/ InputArgumentTest.php, line 73
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testGetDefault() {
$argument = new InputArgument('foo', InputArgument::OPTIONAL, '', 'default');
$this
->assertEquals('default', $argument
->getDefault(), '->getDefault() return the default value');
}