Completed
Push — master ( d35fc1...fe5f39 )
by Tomáš
7s
created

FixerLevelTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of Symplify
5
 * Copyright (c) 2016 Tomas Votruba (http://tomasvotruba.cz).
6
 */
7
8
namespace Symplify\MultiCodingStandard\Tests\PhpCsFixer\PhpCsFixerFactory\FixerLevel;
9
10
use phpunit\framework\TestCase;
11
use Symfony\CS\Fixer;
12
use Symplify\MultiCodingStandard\Tests\ContainerFactory;
13
14
final class FixerLevelTest extends TestCase
15
{
16
    /**
17
     * @var Fixer
18
     */
19
    private $phpCsFixer;
20
21
    protected function setUp()
22
    {
23
        $container = (new ContainerFactory())->createWithConfig(__DIR__.'/config/config.neon');
24
        $this->phpCsFixer = $container->getByType(Fixer::class);
25
    }
26
27
    public function testInstance()
28
    {
29
        $this->assertInstanceOf(Fixer::class, $this->phpCsFixer);
30
    }
31
}
32