summaryrefslogtreecommitdiffstats
path: root/tests/Components/ComponentTest.php
blob: 25952027827adda233ad354a3055ab102c5d5fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
declare(strict_types=1);

namespace PhpMyAdmin\SqlParser\Tests\Components;

use PhpMyAdmin\SqlParser\Component;
use PhpMyAdmin\SqlParser\Parser;
use PhpMyAdmin\SqlParser\Tests\TestCase;
use PhpMyAdmin\SqlParser\TokensList;

class ComponentTest extends TestCase
{
    /**
     * @expectedException \Exception
     * @expectedExceptionMessage Not implemented yet.
     * @runInSeparateProcess
     * @preserveGlobalState disabled
     */
    public function testParse()
    {
        Component::parse(new Parser(), new TokensList());
    }

    /**
     * @expectedException \Exception
     * @expectedExceptionMessage Not implemented yet.
     */
    public function testBuild()
    {
        Component::build(null);
    }
}