Pinq\Tests\Integration\Queries\ParsedQueryBuildingTest::assertOperationExpressionMatches PHP Метод

assertOperationExpressionMatches() защищенный Метод

protected assertOperationExpressionMatches ( Expression $operationExpression, Pinq\Expressions\IEvaluationContext $evaluationContext = null, $correctValue )
$operationExpression Pinq\Expressions\Expression
$evaluationContext Pinq\Expressions\IEvaluationContext
    protected function assertOperationExpressionMatches(O\Expression $operationExpression, O\IEvaluationContext $evaluationContext = null, $correctValue)
    {
        $operationBuilder = $this->repository->getProvider()->getConfiguration()->getOperationQueryBuilder();
        $operationQuery = $operationBuilder->parseOperation($operationExpression, $evaluationContext);
        $this->assertOperationQueryMatches($operationQuery, $operationQuery->getParameters()->resolve($operationBuilder->resolveOperation($operationExpression, $evaluationContext)), $correctValue);
    }