TwigBridgeExtensionSpec::it_is_initializable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the BenGorUser 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\BenGorUser\TwigBridgeBundle\DependencyInjection;
14
15
use BenGorUser\TwigBridgeBundle\DependencyInjection\TwigBridgeExtension;
16
use PhpSpec\ObjectBehavior;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
use Symfony\Component\DependencyInjection\Extension\Extension;
19
20
/**
21
 * Spec file of TwigBridgeExtension class.
22
 *
23
 * @author Beñat Espiña <[email protected]>
24
 */
25
class TwigBridgeExtensionSpec extends ObjectBehavior
26
{
27
    function it_is_initializable()
28
    {
29
        $this->shouldHaveType(TwigBridgeExtension::class);
30
    }
31
32
    function it_extends_extension()
33
    {
34
        $this->shouldHaveType(Extension::class);
35
    }
36
37
    function it_loads(ContainerBuilder $container)
38
    {
39
        $this->load([], $container);
40
    }
41
}
42