HasCacheStoreTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 4
c 1
b 0
f 1
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_cacheStore_returns_in_memory() 0 6 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