Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function it_calls_parent_match(QueryBuilder $qb, Expr $expr, Filter $filterExpr) |
||
26 | { |
||
27 | $dqlAlias = 'a'; |
||
28 | $expression = 'expression'; |
||
29 | $parentExpression = 'foobar'; |
||
30 | |||
31 | $qb->expr()->willReturn($expr); |
||
32 | $filterExpr->getFilter($qb, $dqlAlias)->willReturn($parentExpression); |
||
33 | |||
34 | $expr->not($parentExpression)->willReturn($expression); |
||
35 | |||
36 | $this->getFilter($qb, $dqlAlias)->shouldReturn($expression); |
||
37 | } |
||
38 | |||
55 |