You are here

public function ArgvInputTest::testInvalidInput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Input/ArgvInputTest.php \Symfony\Component\Console\Tests\Input\ArgvInputTest::testInvalidInput()

@dataProvider provideInvalidInput

File

vendor/symfony/console/Tests/Input/ArgvInputTest.php, line 152

Class

ArgvInputTest

Namespace

Symfony\Component\Console\Tests\Input

Code

public function testInvalidInput($argv, $definition, $expectedExceptionMessage) {
  $this
    ->setExpectedException('RuntimeException', $expectedExceptionMessage);
  $input = new ArgvInput($argv);
  $input
    ->bind($definition);
}