Test Setup Failed
Push — master ( 90378d...afbbde )
by Gabriel
06:45
created

HasCacheStoreTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_cacheStore_returns_in_memory() 0 7 1
1
<?php
2
3
namespace Nip\Cache\Tests\Cacheable;
4
5
use Nip\Cache\Stores\Repository;
6
use Nip\Cache\Tests\AbstractTest;
7
use Nip\Cache\Tests\Fixtures\App\Cacheable\HasCacheStoreObject;
8
9
/**
10
 * Class HasCacheStoreTest
11
 * @package Nip\Cache\Tests\Cacheable
12
 */
13
class HasCacheStoreTest extends AbstractTest
14
{
15
    public function test_cacheStore_returns_in_memory()
16
    {
17
        $object = new HasCacheStoreObject();
18
        $store = $object->getCacheStore();
19
20
        self::assertInstanceOf(Repository::class, $store);
21
    }
22
}
23