Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | public function testConcatResultString($a, $b, $c) |
||
41 | { |
||
42 | |||
43 | $baseExpression = new Node\Expr\AssignOp\Concat( |
||
44 | $this->newScalarExpr($a), |
||
45 | $this->newScalarExpr($b) |
||
46 | ); |
||
47 | $compiledExpression = $this->compileExpression($baseExpression); |
||
48 | |||
49 | $this->assertInstanceOfCompiledExpression($compiledExpression); |
||
50 | $this->assertSame(CompiledExpression::STRING, $compiledExpression->getType()); |
||
51 | $this->assertSame($c, $compiledExpression->getValue()); |
||
52 | } |
||
53 | |||
64 |