| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testOutput() |
||
| 20 | { |
||
| 21 | |||
| 22 | $file1 = '/home/user/code/coverageChecker/vendor/symfony/console/Tests/Helper/SymfonyQuestionHelperTest.php'; |
||
| 23 | $file2 = '/home/user/code/coverageChecker/vendor/symfony/console/Tests/Helper/QuestionHelperTest.php'; |
||
| 24 | |||
| 25 | $this->assertEquals( |
||
| 26 | ["Duplicate of $file2:58-60"], |
||
| 27 | $this->cpd->getErrorsOnLine($file1, 45) |
||
| 28 | ); |
||
| 29 | $this->assertEquals( |
||
| 30 | [], |
||
| 31 | $this->cpd->getErrorsOnLine($file1, 49) |
||
| 32 | ); |
||
| 40 |