public function InputTest::testValidate 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::testValidate()
File
- vendor/
symfony/ console/ Tests/ Input/ InputTest.php, line 106
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testValidate() {
$input = new ArrayInput(array(
'name' => 'foo',
));
$input
->bind(new InputDefinition(array(
new InputArgument('name', InputArgument::REQUIRED),
)));
$this
->assertNull($input
->validate());
}