- Introduced IntStatusFixture, StringStatusFixture, and MissingLabelFixture for comprehensive testing of enum behavior.
24 lines
466 B
PHP
24 lines
466 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Unit\Shared\Enums;
|
|
|
|
use Shared\Enums\BaseEnum;
|
|
use Shared\Enums\HasBaseEnum;
|
|
|
|
enum IntStatusFixture: int implements HasBaseEnum
|
|
{
|
|
/** @use BaseEnum<int> */
|
|
use BaseEnum;
|
|
|
|
case PENDING = 1;
|
|
case IN_PROGRESS = 2;
|
|
case DONE = 3;
|
|
|
|
public const array LABELS = [
|
|
'PENDING' => 'En attente',
|
|
'IN_PROGRESS' => 'In Progress',
|
|
'DONE' => 'Terminé',
|
|
];
|
|
}
|