packages/sql-semantics-mysql/tests/Unit/Statement/Server/Storage/Option/LogFileKindTest.php
1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Statement\Server\Storage\Option;
6
7use PHPUnit\Framework\Attributes\CoversClass;
8use PHPUnit\Framework\Attributes\Small;
9use PHPUnit\Framework\TestCase;
10use SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\LogFileKind;
11
12#[CoversClass(LogFileKind::class)]
13#[Small]
14final class LogFileKindTest extends TestCase
15{
16 public function testCasesHoldTheKeywords(): void
17 {
18 self::assertSame(['UNDOFILE', 'REDOFILE'], array_column(LogFileKind::cases(), 'value'));
19 }
20}
21