Passed
Push — master ( dba830...8c74b2 )
by Adam
02:04
created

XcacheCacheTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 2
dl 0
loc 16
rs 10
1
<?php
2
namespace DBAL\Tests\Caching;
3
4
use DBAL\Caching\XcacheCache;
5
6
class XcacheCacheTest extends CacheTest{
7
    
8
    /**
9
     * @covers DBAL\Caching\XcacheCache
10
     */
11
    public function setUp() {
12
        if(!extension_loaded('xcache')) {
13
            $this->markTestSkipped(
14
                'The XCache extension is not available.'
15
            );
16
        }
17
        $this->cache = new XcacheCache();
18
        parent::setUp();
19
    }
20
    
21
}
22