You are here

public function AbstractProcessTest::testLegacyValidInput in Zircon Profile 8.0

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

@dataProvider provideLegacyInputValues @group legacy

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

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