| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace DocLister\Tests\DL\Extender; |
||
| 13 | public function getTVExtender(&$DL) |
||
| 14 | {
|
||
| 15 | $extTV = $this->getMock('tv_DL_Extender', array('getTVnames'), array($DL, 'tv'));
|
||
| 16 | |||
| 17 | $extTV->expects($this->any()) |
||
| 18 | ->method('getTVnames')
|
||
| 19 | ->will($this->returnValue($this->TVList)); |
||
| 20 | |||
| 21 | $this->setProperty($DL, 'extTV', $extTV); |
||
| 22 | |||
| 23 | return $extTV; |
||
| 24 | } |
||
| 25 | } |