mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-12 10:18:39 +00:00
31 lines
731 B
PHP
31 lines
731 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://website.orange-management.de
|
|
*/
|
|
|
|
namespace Tests\PHPUnit\phpOMS\System\File;
|
|
|
|
require_once __DIR__ . '/../../Autoloader.php';
|
|
|
|
use phpOMS\System\File\PermissionException;
|
|
|
|
class PermissionExceptionTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
public function testConstructor()
|
|
{
|
|
$e = new PermissionException('test.file');
|
|
self::assertContains('test.file', $e->getMessage());
|
|
self::assertEquals(0, $e->getCode());
|
|
$this->isInstanceOf('\RuntimeException');
|
|
}
|
|
}
|