MultiCsFileLoaderTest::testLoad()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 9
rs 9.6666
c 1
b 0
f 1
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Symplify\MultiCodingStandard\Tests\Configuration;
6
7
use PHPUnit\Framework\TestCase;
8
use Symplify\MultiCodingStandard\Configuration\MultiCsFileLoader;
9
10
final class MultiCsFileLoaderTest extends TestCase
11
{
12
    public function testLoad()
13
    {
14
        $multiCsFileLoader = new MultiCsFileLoader(__DIR__.'/multi-cs-key-value.json');
15
16
        $loadedFile = $multiCsFileLoader->load();
17
        $this->assertSame([
18
           'key' => 'value',
19
        ], $loadedFile);
20
    }
21
}
22