3 use PHPUnit\Framework\TestResult as PHPUnit_Framework_TestResult;
4 use Yoast\PHPUnitPolyfills\TestCases\TestCase;
6 abstract class PhpXmlRpc_PolyfillTestCase extends TestCase
8 public function _run(TestResult $result = null) {
9 return parent::run($result);
12 public static function _fail() {}
14 public function run(PHPUnit_Framework_TestResult $result = null): PHPUnit_Framework_TestResult {
15 return $this->_run($result);
18 public static function fail(string $message = ''): void {
19 static::_fail($message);
20 parent::fail($message);