| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function testPrintOpSuccess() |
||
| 12 | { |
||
| 13 | $baseExpression = new Node\Expr\Print_( |
||
| 14 | $this->newScalarExpr("test") |
||
| 15 | ); |
||
| 16 | $compiledExpression = $this->compileExpression($baseExpression); |
||
| 17 | |||
| 18 | $this->assertInstanceOfCompiledExpression($compiledExpression); |
||
| 19 | $this->assertSame(CompiledExpression::INTEGER, $compiledExpression->getType()); |
||
| 20 | $this->assertSame(1, $compiledExpression->getValue()); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |