mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
13 lines
347 B
PHP
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());
|
|
}
|
|
}
|