| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 18 | public function testGetLatestShouldReturnArray()  | 
            ||
| 19 |     { | 
            ||
| 20 |         $videoService = $this->getMockBuilder('Article\Service\VideoService') | 
            ||
| 21 | ->setMethods(['fetchLatest'])  | 
            ||
| 22 | ->disableOriginalConstructor()  | 
            ||
| 23 | ->getMockForAbstractClass();  | 
            ||
| 24 | $videoService->expects(static::once())  | 
            ||
| 25 |             ->method('fetchLatest') | 
            ||
| 26 | ->willReturn([]);  | 
            ||
| 27 | $videoHelper = new \Article\View\Helper\VideoHelper($videoService);  | 
            ||
| 28 | static::assertSame([], $videoHelper->getLatest());  | 
            ||
| 29 | }  | 
            ||
| 30 | }  | 
            ||
| 31 |