Files
FOSSBilling/tests/library/Box/Box_ExceptionTest.php
T
Belle Aerni 3c0ef5b4da Remove a few more useless classes (#1129)
* Remove a few more useless classes

* Fix a small typo

* Fix that test

Unless I am missing something, this must have never worked correctly.
2023-04-21 02:35:21 -07:00

14 lines
320 B
PHP

<?php
/**
* @group Core
*/
class Box_ExceptionTest extends PHPUnit\Framework\TestCase
{
public function testException()
{
$e = new Box_Exception('php :msg', array(':msg'=>'unit'), 789);
$this->assertEquals('php unit', $e->getMessage());
$this->assertEquals(789, $e->getCode());
}
}