| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | View Code Duplication | public function PurifyTest() |
|
| 13 | { |
||
| 14 | $linkPurifier = new LinkPurifier(''); |
||
| 15 | $output = $linkPurifier->Purify('Lorem Ipsum <a href="http://www.google.co.in" target="_blank">http://www.google.co.in</a> lorem ipsum dummy text added for the testing purpose'); |
||
| 16 | $expectedOutPut = 'Lorem Ipsum lorem ipsum dummy text added for the testing purpose by '; |
||
| 17 | $this->assertEquals($expectedOutPut, $output); |
||
| 18 | } |
||
| 19 | |||
| 31 |