blob: d4fe505739313ba02050f7aa239c221c71f04f07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
namespace SqlParser\Tests\Components;
use SqlParser\Parser;
use SqlParser\Components\ParameterDefinition;
use SqlParser\Tests\TestCase;
class ParameterDefinitionTest extends TestCase
{
public function testParse()
{
$component = ParameterDefinition::parse(
new Parser(),
$this->getTokensList('(a INT, b INT')
);
$this->assertEquals('a', $component[0]->name);
$this->assertEquals('b', $component[1]->name);
}
}
|