You are here

public function ProcessBuilderTest::testInvalidInput in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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());
}