packages/sql-semantics-mysql/tests/Unit/Statement/Alter/Partition/TrailingCommandTest.php
1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Statement\Alter\Partition;
6
7use PHPUnit\Framework\Attributes\CoversNothing;
8use PHPUnit\Framework\Attributes\Small;
9use PHPUnit\Framework\TestCase;
10use SqlSemantics\Platform\MySql\Statement\Alter\AlterCommand;
11use SqlSemantics\Platform\MySql\Statement\Alter\Partition\RemovePartitioning;
12use SqlSemantics\Platform\MySql\Statement\Alter\Partition\TrailingCommand;
13
14#[CoversNothing]
15#[Small]
16final class TrailingCommandTest extends TestCase
17{
18 public function testATrailingCommandIsAnAction(): void
19 {
20 self::assertContains(AlterCommand::class, class_implements(TrailingCommand::class));
21 self::assertContains(TrailingCommand::class, class_implements(RemovePartitioning::class));
22 }
23}
24