Conditions | 3 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function testConstructorApcuNotEnabledThrowsException(): void |
||
18 | { |
||
19 | if (function_exists('apcu_enabled') && apcu_enabled()) { |
||
20 | $this->markTestSkipped('ext-apcu is enabled'); |
||
21 | } |
||
22 | |||
23 | $this->expectException(CacheException::class); |
||
24 | new ApcuCache(new MoParser(null), 'foo', 'bar'); |
||
25 | } |
||
27 |