Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class PluginTest extends TestCase |
||
17 | { |
||
18 | 1 | public function testCreateCacheDefault() |
|
19 | { |
||
20 | 1 | $this->createPhileCore()->bootstrap(); |
|
21 | 1 | $cache = ServiceLocator::getService('Phile_Cache'); |
|
22 | 1 | $this->assertInstanceOf( |
|
23 | \Phile\Plugin\Phile\PhpFastCache\PhileToPsr16CacheAdapter::class, |
||
24 | $cache |
||
25 | ); |
||
26 | } |
||
27 | |||
28 | 1 | public function testCreateCacheFile() |
|
40 | ); |
||
41 | } |
||
42 | |||
43 | 1 | public function testCreateCacheCustom() |
|
62 |