public function InputArgumentTest::testSetDefaultWithArrayArgument 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::testSetDefaultWithArrayArgument()
@expectedException \LogicException @expectedExceptionMessage A default value for an array argument must be an array.
File
- vendor/
symfony/ console/ Tests/ Input/ InputArgumentTest.php, line 106
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testSetDefaultWithArrayArgument() {
$argument = new InputArgument('foo', InputArgument::IS_ARRAY);
$argument
->setDefault('default');
}