public function InputOptionTest::testInvalidModes in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Input/InputOptionTest.php \Symfony\Component\Console\Tests\Input\InputOptionTest::testInvalidModes()
@dataProvider provideInvalidModes
File
- vendor/
symfony/ console/ Tests/ Input/ InputOptionTest.php, line 78
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testInvalidModes($mode) {
$this
->setExpectedException('InvalidArgumentException', sprintf('Option mode "%s" is not valid.', $mode));
new InputOption('foo', 'f', $mode);
}