| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function testUnexpectedType() |
||
| 44 | { |
||
| 45 | $baseExpression = new Node\Expr\Cast\Double( |
||
| 46 | $this->newFakeScalarExpr() |
||
| 47 | ); |
||
| 48 | $compiledExpression = $this->compileExpression($baseExpression); |
||
| 49 | |||
| 50 | $this->assertInstanceOfCompiledExpression($compiledExpression); |
||
| 51 | $this->assertSame(CompiledExpression::UNKNOWN, $compiledExpression->getType()); |
||
| 52 | $this->assertSame(null, $compiledExpression->getValue()); |
||
| 53 | } |
||
| 54 | } |
||
| 55 |