public function InputTest::testValidateWithMissingArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputTest.php \Symfony\Component\Console\Tests\Input\InputTest::testValidateWithMissingArguments()
@expectedException \RuntimeException @expectedExceptionMessage Not enough arguments.
File
- vendor/
symfony/ console/ Tests/ Input/ InputTest.php, line 99
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testValidateWithMissingArguments() {
$input = new ArrayInput(array());
$input
->bind(new InputDefinition(array(
new InputArgument('name', InputArgument::REQUIRED),
)));
$input
->validate();
}