packages/sql-semantics-mysql/tests/Unit/Statement/Alter/Partition/StandaloneCommandTest.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\DropPartition;
12use SqlSemantics\Platform\MySql\Statement\Alter\Partition\StandaloneCommand;
13
14#[CoversNothing]
15#[Small]
16final class StandaloneCommandTest extends TestCase
17{
18 public function testAStandaloneCommandIsAnAction(): void
19 {
20 self::assertContains(AlterCommand::class, class_implements(StandaloneCommand::class));
21 self::assertContains(StandaloneCommand::class, class_implements(DropPartition::class));
22 }
23}
24