mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-12 10:18:39 +00:00
28 lines
623 B
PHP
28 lines
623 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.2
|
|
*
|
|
* @package tests
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://website.orange-management.de
|
|
*/
|
|
|
|
namespace phpOMS\tests\System\File;
|
|
|
|
use phpOMS\System\File\PathException;
|
|
|
|
class PathExceptionTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
public function testConstructor() : void
|
|
{
|
|
$e = new PathException('test.file');
|
|
self::assertContains('test.file', $e->getMessage());
|
|
self::assertEquals(0, $e->getCode());
|
|
$this->isInstanceOf('\UnexpectedValueException');
|
|
}
|
|
}
|