SqlParser\Tests\Components\ExpressionTest::testBuild PHP Метод

testBuild() публичный Метод

public testBuild ( )
    public function testBuild()
    {
        $component = array(new Expression('1 + 2', 'three'), new Expression('1 + 3', 'four'));
        $this->assertEquals(Expression::build($component), '1 + 2 AS `three`, 1 + 3 AS `four`');
    }