packages/sql-faker/tests/Unit/Compiler/Bison/Ast/BisonStartDeclarationTest.php

1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\SqlFaker\Compiler\Bison\Ast;
6
7use PHPUnit\Framework\Attributes\CoversClass;
8use PHPUnit\Framework\TestCase;
9use SqlFaker\Compiler\Bison\Ast\BisonStartDeclaration;
10
11#[CoversClass(BisonStartDeclaration::class)]
12final class BisonStartDeclarationTest extends TestCase
13{
14    public function testSymbol(): void
15    {
16        $decl = new BisonStartDeclaration('sql_statement');
17
18        self::assertSame('sql_statement', $decl->symbol);
19    }
20}
21