| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | protected function setUp() : void |
||
| 18 | { |
||
| 19 | if( !class_exists( '\Illuminate\View\Factory' ) ) { |
||
| 20 | $this->markTestSkipped( '\Illuminate\View\Factory is not available' ); |
||
| 21 | } |
||
| 22 | |||
| 23 | $this->mock = $this->getMockBuilder( \Illuminate\View\Factory::class ) |
||
| 24 | ->onlyMethods( array( 'file' ) ) |
||
| 25 | ->disableOriginalConstructor() |
||
| 26 | ->getMock(); |
||
| 27 | |||
| 28 | $this->object = new \Aimeos\Base\View\Engine\Blade( $this->mock ); |
||
| 29 | } |
||
| 57 |