Passed
Pull Request — master (#311)
by William
12:43
created

ComponentTest::testParse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace PhpMyAdmin\SqlParser\Tests\Components;
4
5
use PhpMyAdmin\SqlParser\Component;
6
use PhpMyAdmin\SqlParser\Parser;
7
use PhpMyAdmin\SqlParser\Tests\TestCase;
8
use PhpMyAdmin\SqlParser\TokensList;
9
10
class ComponentTest extends TestCase
11
{
12
    /**
13
     * @expectedException \Exception
14
     * @expectedExceptionMessage Not implemented yet.
15
     * @runInSeparateProcess
16
     * @preserveGlobalState disabled
17
     */
18
    public function testParse()
19
    {
20
        Component::parse(new Parser(), new TokensList());
21
    }
22
23
    /**
24
     * @expectedException \Exception
25
     * @expectedExceptionMessage Not implemented yet.
26
     */
27
    public function testBuild()
28
    {
29
        Component::build(null);
30
    }
31
}
32