<?php
namespace ExecWithFallback\Tests;

use PHPUnit\Framework\TestCase;
use ExecWithFallback\POpen;

class POpenTest extends BaseTest
{

    public $className = 'POpen';

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

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