<?php
/**
 * Orange Management
 *
 * PHP Version 7.4
 *
 * @package   tests
 * @copyright Dennis Eichhorn
 * @license   OMS License 1.0
 * @version   1.0.0
 * @link      https://orange-management.org
 */
declare(strict_types=1);

namespace phpOMS\tests;

use phpOMS\Autoloader;

/**
 * @testdox phpOMS\tests\AutoloaderTest: Class autoloader
 *
 * @internal
 */
class AutoloaderTest extends \PHPUnit\Framework\TestCase
{
    /**
     * @testdox Classes can be checked for existence
     * @covers phpOMS\Autoloader
     * @group framework
     */
    public function testAutoloader() : void
    {
        self::assertTrue(Autoloader::exists('\phpOMS\Autoloader'));
        self::assertFalse(Autoloader::exists('\Does\Not\Exist'));
    }
}
