packages/sql-semantics-mysql/tests/Unit/Statement/Replication/Reset/ResetTargetTest.php

1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Statement\Replication\Reset;
6
7use PHPUnit\Framework\Attributes\CoversNothing;
8use PHPUnit\Framework\Attributes\Small;
9use PHPUnit\Framework\TestCase;
10use SqlSemantics\Platform\MySql\Statement\Replication\Reset\ResetBinaryLogs;
11use SqlSemantics\Platform\MySql\Statement\Replication\Reset\ResetQueryCache;
12use SqlSemantics\Platform\MySql\Statement\Replication\Reset\ResetReplica;
13use SqlSemantics\Platform\MySql\Statement\Replication\Reset\ResetTarget;
14
15#[CoversNothing]
16#[Small]
17final class ResetTargetTest extends TestCase
18{
19    public function testDeriveTargetIsDeclaredByEveryItem(): void
20    {
21        self::assertContains(ResetTarget::class, class_implements(ResetReplica::class));
22        self::assertContains(ResetTarget::class, class_implements(ResetBinaryLogs::class));
23        self::assertContains(ResetTarget::class, class_implements(ResetQueryCache::class));
24    }
25}
26