ConfigurationTest::testConfiguration()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 5
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 7
rs 10
1
<?php
2
3
namespace NW\JsonRequestBundle\Tests\DependencyInjection;
4
5
use NW\JsonRequestBundle\Tests\TestCase;
6
use NW\JsonRequestBundle\DependencyInjection\Configuration;
7
use Symfony\Component\Config\Definition\Processor;
8
use Symfony\Component\Config\Definition\ConfigurationInterface;
9
10
class ConfigurationTest extends TestCase
11
{
12
    public function testConfiguration()
13
    {
14
        $processor = new Processor();
15
        $configuration = new Configuration();
16
        $this->assertInstanceOf(ConfigurationInterface::class, $configuration);
17
        $configs = $processor->processConfiguration($configuration, []);
18
        $this->assertArraySubset([], $configs);
19
    }
20
}
21