| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function testInvokingAdminUserHelperShouldReturnItSelf() |
||
| 10 | { |
||
| 11 | $postService = $this->getMockBuilder('Article\Service\PostService') |
||
| 12 | ->disableOriginalConstructor() |
||
| 13 | ->getMockForAbstractClass(); |
||
| 14 | $postHelper = new \Article\View\Helper\PostHelper($postService); |
||
| 15 | static::assertInstanceOf(\Article\View\Helper\PostHelper::class, $postHelper()); |
||
| 16 | } |
||
| 17 | |||
| 44 |