phpOMS/tests/Localization/ISO4217SymbolEnumTest.php
2024-03-20 07:21:26 +00:00

36 lines
919 B
PHP
Executable File

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @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\Localization;
require_once __DIR__ . '/../Autoloader.php';
use phpOMS\Localization\ISO4217SymbolEnum;
/**
* @internal
*/
#[\PHPUnit\Framework\Attributes\TestDox('phpOMS\tests\Localization\ISO4217SymbolEnumTest: ISO 4217 currency codes')]
final class ISO4217SymbolEnumTest extends \PHPUnit\Framework\TestCase
{
#[\PHPUnit\Framework\Attributes\Group('framework')]
#[\PHPUnit\Framework\Attributes\TestDox('The ISO 4217 currency code enum has the correct number of currency symbols')]
#[\PHPUnit\Framework\Attributes\CoversNothing]
public function testEnums() : void
{
$enum = ISO4217SymbolEnum::getConstants();
self::assertCount(192, $enum);
}
}