<?php
namespace ExecWithFallback\Tests;

use PHPUnit\Framework\TestCase;
use ExecWithFallback\ProcOpen;

class ProcOpenTest extends BaseTest
{

    public $className = 'ProcOpen';

    public function isAvailable()
    {
        return function_exists('proc_open');
    }

    public function runExec($command, &$output = null, &$result_code = null)
    {
        return ProcOpen::exec($command, $output, $result_code);
    }
}
