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

CallStatementTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 18
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testCall() 0 3 1
A callProvider() 0 6 1
1
<?php
2
3
namespace PhpMyAdmin\SqlParser\Tests\Parser;
4
5
use PhpMyAdmin\SqlParser\Tests\TestCase;
6
7
class CallStatementTest extends TestCase
8
{
9
    /**
10
     * @dataProvider callProvider
11
     *
12
     * @param mixed $test
13
     */
14
    public function testCall($test)
15
    {
16
        $this->runParserTest($test);
17
    }
18
19
    public function callProvider()
20
    {
21
        return array(
22
            array('parser/parseCall'),
23
            array('parser/parseCall2'),
24
            array('parser/parseCall3')
25
        );
26
    }
27
}
28