| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function testUnexpectedType() |
||
| 22 | { |
||
| 23 | $baseExpression = $this->buildExpression( |
||
| 24 | $this->newFakeScalarExpr() |
||
| 25 | ); |
||
| 26 | $compiledExpression = $this->compileExpression($baseExpression); |
||
| 27 | |||
| 28 | $this->assertInstanceOfCompiledExpression($compiledExpression); |
||
| 29 | $this->assertSame(CompiledExpression::UNKNOWN, $compiledExpression->getType()); |
||
| 30 | $this->assertSame(null, $compiledExpression->getValue()); |
||
| 31 | } |
||
| 32 | } |
||
| 33 |