travis
[plcapi.git] / tests / PolyfillTestCase8.php
1 <?php
2
3 use PHPUnit\Framework\TestResult;
4 use Yoast\PHPUnitPolyfills\TestCases\TestCase;
5
6 abstract class PhpXmlRpc_PolyfillTestCase extends TestCase
7 {
8     public function _run(TestResult $result = null) {
9         return parent::run($result);
10     }
11
12     public static function _fail() {}
13
14     public function run(TestResult $result = null): TestResult {
15         return $this->_run($result);
16     }
17
18     public static function fail(string $message = ''): void {
19         static::_fail($message);
20         parent::fail($message);
21     }
22 }