Completed
Push — master ( 86b8da...2af8a4 )
by Tomáš
02:58
created

MultiCsFileLoaderTest::testLoad()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace Symplify\MultiCodingStandard\Tests\Configuration;
4
5
use phpunit\framework\TestCase;
6
use Symplify\MultiCodingStandard\Configuration\MultiCsFileLoader;
7
use Symplify\MultiCodingStandard\Contract\Configuration\MultiCsFileLoaderInterface;
8
9
final class MultiCsFileLoaderTest extends TestCase
10
{
11
    /**
12
     * @var MultiCsFileLoaderInterface
13
     */
14
    private $multiCsFileLoader;
15
16
    protected function setUp()
17
    {
18
        $this->multiCsFileLoader = new MultiCsFileLoader(__DIR__.'/multi-cs.json');
19
    }
20
21
    public function testLoad()
22
    {
23
        $loadedFile = $this->multiCsFileLoader->load();
24
        $this->assertSame([
25
           'key' => 'value'
26
        ], $loadedFile);
27
    }
28
}