| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function testSecondArgUnexpectedType() |
||
| 38 | { |
||
| 39 | $baseExpression = $this->buildExpression( |
||
| 40 | $this->newScalarExpr(1), |
||
| 41 | $this->newFakeScalarExpr() |
||
| 42 | ); |
||
| 43 | $compiledExpression = $this->compileExpression($baseExpression); |
||
| 44 | |||
| 45 | $this->assertInstanceOfCompiledExpression($compiledExpression); |
||
| 46 | $this->assertSame(CompiledExpression::UNKNOWN, $compiledExpression->getType()); |
||
| 47 | $this->assertSame(null, $compiledExpression->getValue()); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |