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