Base   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 5 1
A tearDown() 0 5 1
1
<?php
2
3
namespace PluginSimpleValidate\Tests\unit;
4
5
use PHPUnit\Framework\TestCase;
6
use PluginSimpleValidate\Libraries\Language;
7
8
class Base extends TestCase
9
{
10
    const LANGUAGE = 'en';
11
12
    /**
13
     * @var Language
14
     */
15
    protected $language;
16
17
    protected function setUp()
18
    {
19
        parent::setUp(); // TODO: Change the autogenerated stub
20
        $this->language = new Language(self::LANGUAGE);
21
    }
22
23
    protected function tearDown()
24
    {
25
        \Mockery::close();
26
        parent::tearDown(); // TODO: Change the autogenerated stub
27
    }
28
}
29