diff --git a/tests/end-to-end/regression/5210.phpt b/tests/end-to-end/regression/5210.phpt new file mode 100644 index 00000000000..9720327fd3f --- /dev/null +++ b/tests/end-to-end/regression/5210.phpt @@ -0,0 +1,27 @@ +--TEST-- +https://github.com/sebastianbergmann/phpunit/issues/5210 +--FILE-- + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +use PHPUnit\Framework\TestCase; + +final class Issue5210Test extends TestCase +{ + protected function tearDown(): void + { + throw new \Exception('test'); + } + + public function testOne(): void + { + $this->assertTrue(true); + } +}