KretaSimpleApiDocExtensionSpec   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A it_is_initializable() 0 4 1
A it_extends_extension() 0 4 1
A it_builds() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Kreta package.
5
 *
6
 * (c) Beñat Espiña <[email protected]>
7
 * (c) Gorka Laucirica <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace spec\Kreta\SimpleApiDocBundle\DependencyInjection;
14
15
use PhpSpec\ObjectBehavior;
16
use Symfony\Component\DependencyInjection\ContainerBuilder;
17
18
/**
19
 * Spec of Kreta Simple Api Doc Extension class.
20
 *
21
 * @author Beñat Espiña <[email protected]>
22
 */
23
class KretaSimpleApiDocExtensionSpec extends ObjectBehavior
24
{
25
    function it_is_initializable()
26
    {
27
        $this->shouldHaveType('Kreta\SimpleApiDocBundle\DependencyInjection\KretaSimpleApiDocExtension');
28
    }
29
30
    function it_extends_extension()
31
    {
32
        $this->shouldHaveType('Symfony\Component\DependencyInjection\Extension\Extension');
33
    }
34
35
    function it_builds(ContainerBuilder $container)
36
    {
37
        $this->load([], $container);
38
    }
39
}
40