Passed
Branch master (e8fd46)
by Alexey
02:50
created

CacheSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 12
rs 10
c 1
b 0
f 0
wmc 2
lcom 0
cbo 1
1
<?php
2
3
namespace spec\Venta\Cache;
4
5
use PhpSpec\ObjectBehavior;
6
use Psr\Cache\CacheItemPoolInterface;
7
use Venta\Cache\Cache;
8
9
class CacheSpec extends ObjectBehavior
10
{
11
    function let(CacheItemPoolInterface $cacheItemPool)
12
    {
13
        $this->beConstructedWith($cacheItemPool);
14
    }
15
16
    function it_is_initializable()
17
    {
18
        $this->shouldHaveType(Cache::class);
19
    }
20
}
21