Completed
Push — master ( 56a2b4...996a04 )
by Christian
01:25
created

ConfigurationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 3
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testOptions() 0 16 1
1
<?php
2
3
/*
4
 * (c) Christian Gripp <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Core23\PiwikBundle\Tests\DependencyInjection;
11
12
use Core23\PiwikBundle\DependencyInjection\Configuration;
13
use PHPUnit\Framework\TestCase;
14
use Symfony\Component\Config\Definition\Processor;
15
16
class ConfigurationTest extends TestCase
17
{
18
    public function testOptions()
19
    {
20
        $processor = new Processor();
21
22
        $config = $processor->processConfiguration(new Configuration(), array(array(
23
        )));
24
25
        $expected = array(
26
            'http' => array(
27
                'client'          => 'httplug.client.default',
28
                'message_factory' => 'httplug.message_factory.default',
29
            ),
30
        );
31
32
        $this->assertSame($expected, $config);
33
    }
34
}
35