public function InputArgumentTest::testInvalidModes 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::testInvalidModes()
@dataProvider provideInvalidModes
File
- vendor/
symfony/ console/ Tests/ Input/ InputArgumentTest.php, line 42
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testInvalidModes($mode) {
$this
->setExpectedException('InvalidArgumentException', sprintf('Argument mode "%s" is not valid.', $mode));
new InputArgument('foo', $mode);
}