it_should_create_configuration()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 4
nc 1
nop 2
1
<?php
2
3
namespace spec\Knp\RadBundle\AppBundle;
4
5
use PhpSpec\ObjectBehavior;
6
7
class ConfigurationFactorySpec extends ObjectBehavior
8
{
9
    /**
10
     * @param Knp\RadBundle\AppBundle\ConfigurableBundleInterface    $bundle
11
     * @param Symfony\Component\DependencyInjection\ContainerBuilder $container
12
     */
13
    function it_should_create_configuration($bundle, $container)
0 ignored issues
show
Coding Style introduced by
Method name "ConfigurationFactorySpec::it_should_create_configuration" is not in camel caps format
Loading history...
14
    {
15
        $config = $this->createConfiguration($bundle, array('some', 'options'), $container);
16
        $config->shouldBeAnInstanceOf('Knp\RadBundle\AppBundle\Configuration');
17
        $config->getBundle()->shouldReturn($bundle);
18
    }
19
}
20