public function PhpExecutableFinderTest::testFindArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/PhpExecutableFinderTest.php \Symfony\Component\Process\Tests\PhpExecutableFinderTest::testFindArguments()
tests find() with the env var PHP_PATH.
File
- vendor/symfony/ process/ Tests/ PhpExecutableFinderTest.php, line 65 
Class
- PhpExecutableFinderTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testFindArguments() {
  $f = new PhpExecutableFinder();
  if (defined('HHVM_VERSION')) {
    $this
      ->assertEquals($f
      ->findArguments(), array(
      '--php',
    ), '::findArguments() returns HHVM arguments');
  }
  else {
    $this
      ->assertEquals($f
      ->findArguments(), array(), '::findArguments() returns no arguments');
  }
}