| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 1 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 43 | 1 | public function testCreateCacheCustom()  | 
            |
| 44 |     { | 
            ||
| 45 | 1 | $customConfig = new \Phpfastcache\Drivers\Memstatic\Config();  | 
            |
| 46 | 1 | $config = new Config([  | 
            |
| 47 | 'plugins' => [  | 
            ||
| 48 | 'phile\\phpFastCache' => [  | 
            ||
| 49 | 'active' => true,  | 
            ||
| 50 | 'phpFastCacheConfig' => $customConfig  | 
            ||
| 51 | ]  | 
            ||
| 52 | ]  | 
            ||
| 53 | ]);  | 
            ||
| 54 | 1 | $this->createPhileCore(null, $config)->bootstrap();  | 
            |
| 55 | 1 |         $cache = ServiceLocator::getService('Phile_Cache'); | 
            |
| 56 | 1 | $this->assertInstanceOf(  | 
            |
| 57 | \Phile\Plugin\Phile\PhpFastCache\PhileToPsr16CacheAdapter::class,  | 
            ||
| 58 | $cache  | 
            ||
| 59 | );  | 
            ||
| 62 |