packages/sql-semantics-mysql/tests/Unit/Statement/Table/Key/IndexKindTest.php

1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Statement\Table\Key;
6
7use PHPUnit\Framework\Attributes\CoversClass;
8use PHPUnit\Framework\Attributes\Small;
9use PHPUnit\Framework\TestCase;
10use SqlSemantics\Platform\MySql\Statement\Table\Key\IndexKind;
11
12#[CoversClass(IndexKind::class)]
13#[Small]
14final class IndexKindTest extends TestCase
15{
16    public function testCasesHoldTheirKeywords(): void
17    {
18        self::assertSame('PRIMARY KEY', IndexKind::Primary->value);
19        self::assertSame('FULLTEXT', IndexKind::FullText->value);
20    }
21}
22