ConfigurationTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testConfiguration() 0 7 1
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