Pinq\Tests\Integration\Parsing\ParserTest::assertParsedAs PHP Метод

assertParsedAs() закрытый защищенный Метод

final protected assertParsedAs ( callable $function, array $expressions )
$function callable
$expressions array
    protected final function assertParsedAs(callable $function, array $expressions)
    {
        if ($this->currentImplementation === null) {
            throw new \Exception('Please remember to use the @dataProvider annotation to test all the implementations.');
        }
        $this->assertEquals($expressions, $this->currentImplementation->parse($this->currentImplementation->getReflection($function))->getBodyExpressions());
    }