forked from phpmyadmin/sql-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComponentTest.php
More file actions
32 lines (27 loc) · 786 Bytes
/
ComponentTest.php
File metadata and controls
32 lines (27 loc) · 786 Bytes
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;
use Throwable;
class ComponentTest extends TestCase
{
/**
* @runInSeparateProcess
* @preserveGlobalState disabled
*/
public function testParse(): void
{
$this->expectExceptionMessage('Not implemented yet.');
$this->expectException(Throwable::class);
Component::parse(new Parser(), new TokensList());
}
public function testBuild(): void
{
$this->expectExceptionMessage('Not implemented yet.');
$this->expectException(Throwable::class);
Component::build(null);
}
}