Test Failed
Branch master (193490)
by Theo
04:08
created

ConfigurationSpec::it_is_initializable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Tests\CalendarBundle\DependencyInjection;
4
5
use CalendarBundle\DependencyInjection\Configuration;
6
use PhpSpec\ObjectBehavior;
7
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
8
9
class ConfigurationSpec extends ObjectBehavior
10
{
11
    public function it_is_initializable()
12
    {
13
        $this->shouldHaveType(Configuration::class);
14
    }
15
16
    public function it_should_set_the_tree_builder_config()
17
    {
18
        $this
19
            ->getConfigTreeBuilder()
20
            ->shouldReturnAnInstanceOf(TreeBuilder::class)
21
        ;
22
    }
23
}
24