Pinq\Tests\Integration\ExpressionTrees\MagicConstantInterpreterTest::testFunction PHP Метод

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

public testFunction ( )
    public function testFunction()
    {
        $this->assertRecompilesCorrectly([$this, 'functionConstant']);
        $this->assertRecompilesCorrectly(function () {
            return [__FUNCTION__, __FUNCTION__];
        });
        $this->assertRecompilesCorrectly(__NAMESPACE__ . '\\testFuncFunctionConstant');
    }