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

ConfigurationSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2
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