Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function HighLightTest() |
||
13 | { |
||
14 | $heighlighter = new HighLighter(''); |
||
15 | $outPut = $heighlighter->HighLight('Lorem Ipsum http://www.google.co.in lorem ipsum dummy text added for the testing purpose by [email protected]'); |
||
16 | $expected_output = '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 by <a href="mailto:[email protected]">[email protected]</a>'; |
||
17 | $this->assertEquals($expected_output, $outPut); |
||
18 | } |
||
19 | } |
||
20 |