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