Passed
Pull Request — master (#17)
by Pavel
10:34
created

StaticKernelTestTrait   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUpBeforeClass() 0 5 1
A setUp() 0 3 1
A tearDown() 0 3 1
1
<?php
2
3
namespace ScayTrase\Api\Cruds\Tests;
4
5
trait StaticKernelTestTrait
6
{
7
    public static function setUpBeforeClass()
8
    {
9
        self::$class = KernelProvider::getClass();
10
        self::bootKernel();
11
    }
12
13
    public function setUp()
14
    {
15
    }
16
17
    public function tearDown()
18
    {
19
    }
20
}
21