packages/sql-semantics-mysql/tests/Unit/Statement/Query/Into/IntoDestinationTest.php

1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Statement\Query\Into;
6
7use PHPUnit\Framework\Attributes\CoversNothing;
8use PHPUnit\Framework\Attributes\Small;
9use PHPUnit\Framework\TestCase;
10use SqlSemantics\Platform\MySql\Model\Statement\Node;
11use SqlSemantics\Platform\MySql\Statement\Query\Into\IntoDestination;
12use SqlSemantics\Platform\MySql\Statement\Query\Into\IntoOutfile;
13
14#[CoversNothing]
15#[Small]
16final class IntoDestinationTest extends TestCase
17{
18    public function testADestinationIsARenderableNode(): void
19    {
20        self::assertTrue(interface_exists(IntoDestination::class));
21        self::assertContains(Node::class, class_implements(IntoDestination::class));
22        self::assertContains(IntoDestination::class, class_implements(IntoOutfile::class));
23    }
24}
25