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