You are here

public function AbstractProcessTest::testInvalidInput in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testInvalidInput()

@dataProvider provideInvalidInputValues @expectedException \Symfony\Component\Process\Exception\InvalidArgumentException @expectedExceptionMessage Symfony\Component\Process\Process::setInput only accepts strings or stream resources.

File

vendor/symfony/process/Tests/AbstractProcessTest.php, line 214

Class

AbstractProcessTest
@author Robert Schönthal <seroscho@googlemail.com>

Namespace

Symfony\Component\Process\Tests

Code

public function testInvalidInput($value) {
  $process = $this
    ->getProcess(self::$phpBin . ' -v');
  $process
    ->setInput($value);
}