Files
FOSSBilling/tests-legacy/library/Box/Box_ExceptionTest.php
T
Belle Aerni 075c809881 Updated our rector configs (#2224)
* Some rector config work

* Increased type coverage, added dead code
2024-04-09 00:51:42 -07:00

13 lines
347 B
PHP

<?php
#[PHPUnit\Framework\Attributes\Group('Core')]
class Box_ExceptionTest extends PHPUnit\Framework\TestCase
{
public function testException(): void
{
$e = new Box_Exception('php :msg', [':msg' => 'unit'], 789);
$this->assertEquals('php unit', $e->getMessage());
$this->assertEquals(789, $e->getCode());
}
}