You are here

public function ProcessBuilderTest::testInvalidInput in Zircon Profile 8

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

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

File

vendor/symfony/process/Tests/ProcessBuilderTest.php, line 220

Class

ProcessBuilderTest

Namespace

Symfony\Component\Process\Tests

Code

public function testInvalidInput() {
  $builder = ProcessBuilder::create();
  $builder
    ->setInput(array());
}