Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
local
/
wp
/
vendor
/
phpunit
/
phpunit
/
tests
/
Regression
/
GitHub
/
2299
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Issue2299Test.php
<?php /** * @author Jean Carlo Machado <contato@jeancarlomachado.com.br> */ class Test extends PHPUnit_Framework_TestCase { public function testOne() { $this->expectExceptionMessage('message'); throw new Exception('message'); } public function testTwo() { $this->expectExceptionCode(123); throw new Exception('message', 123); } }
Save
Cancel