ConfigurationTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 8
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetConfigTreeBuilder() 0 5 1
1
<?php
2
3
namespace Beelab\SimplePageBundle\Tests\DependencyInjection;
4
5
use Beelab\SimplePageBundle\DependencyInjection\Configuration;
6
use PHPUnit\Framework\TestCase;
7
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
8
9
/**
10
 * @group unit
11
 */
12
final class ConfigurationTest extends TestCase
13
{
14
    public function testGetConfigTreeBuilder(): void
15
    {
16
        $configuration = new Configuration();
17
        $this->assertInstanceOf(TreeBuilder::class, $configuration->getConfigTreeBuilder());
18
    }
19
}
20