summaryrefslogtreecommitdiffstats
path: root/tests/Components/KeyTest.php
blob: f6fa7b81f35c594a1c5336f9358184c54e8b0d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace SqlParser\Tests\Components;

use SqlParser\Parser;
use SqlParser\Components\Key;
use SqlParser\Tests\TestCase;

class KeyTest extends TestCase
{
    public function testParse()
    {
        $component = Key::parse(
            new Parser(),
            $this->getTokensList('')
        );
        $this->assertEquals(null, $component->name);
    }
}