Failed Conditions
Push — complex_graph_v3 ( fca431...2b444c )
by Donald
01:28
created

StoreTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A tearDown() 0 3 1
1
<?php namespace Integration\Chekote\NounStore\Store;
2
3
use Chekote\NounStore\Store;
4
use Integration\Chekote\NounStore\TestCase;
5
6
abstract class StoreTest extends TestCase
7
{
8
    /** @var Store */
9
    protected $store;
10
11
    /**
12
     * Sets up the environment before each test.
13
     */
14
    public function setUp()
15
    {
16
        $this->store = new Store();
17
    }
18
19
    /**
20
     * Tears down the environment after each test.
21
     */
22
    public function tearDown()
23
    {
24
        $this->store = null;
25
    }
26
}
27