phpOMS/tests/System/OperatingSystemTest.php
2024-03-20 05:16:00 +00:00

36 lines
914 B
PHP
Executable File

<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package tests
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace phpOMS\tests\System;
require_once __DIR__ . '/../Autoloader.php';
use phpOMS\System\OperatingSystem;
use phpOMS\System\SystemType;
/**
* @internal
*/
#[\PHPUnit\Framework\Attributes\CoversClass(\phpOMS\System\OperatingSystem::class)]
#[\PHPUnit\Framework\Attributes\TestDox('phpOMS\tests\System\OperatingSystemTest: Operating system')]
final class OperatingSystemTest extends \PHPUnit\Framework\TestCase
{
#[\PHPUnit\Framework\Attributes\Group('framework')]
#[\PHPUnit\Framework\Attributes\TestDox('The current operating system can be returned')]
public function testSystem() : void
{
self::assertNotEquals(SystemType::UNKNOWN, OperatingSystem::getSystem());
}
}