Base::setUp()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
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