You are here

public function AbstractProcessTest::testValidInput 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::testValidInput()

@dataProvider provideInputValues

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testValidInput($expected, $value) {
  $process = $this
    ->getProcess(self::$phpBin . ' -v');
  $process
    ->setInput($value);
  $this
    ->assertSame($expected, $process
    ->getInput());
}