Passed
Pull Request — master (#16)
by Donald
01:57
created

TestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A verifyExpectations() 0 2 1
A clearExpectations() 0 2 1
1
<?php namespace Chekote\NounStore;
2
3
use Chekote\Phake\Phake;
4
use PHPUnit\Framework\TestCase as BaseTestCase;
5
6
class TestCase extends BaseTestCase
7
{
8
    /**
9
     * @before
10
     */
11
    public function clearExpectations() {
12
        Phake::clearExpectations();
13
    }
14
15
    /**
16
     * @after
17
     */
18
    public function verifyExpectations() {
19
        Phake::verifyExpectations();
20
    }
21
}
22