Completed
Push — master ( ea8409...03835b )
by Emil
02:17
created

GloobyTaskExtensionTest::testUnConfigured()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
namespace Glooby\TaskBundle\Tests\DependencyInjection;
4
5
use Glooby\TaskBundle\DependencyInjection\GloobyTaskExtension;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\Yaml\Yaml;
8
9
/**
10
 * @author Emil Kilhage
11
 */
12
class GloobyTaskExtensionTest extends \PHPUnit_Framework_TestCase
13
{
14
    public function testUnConfigured()
15
    {
16
        $config = Yaml::parse(file_get_contents(__DIR__.'/fixtures/config.yml'));
17
18
        $containerBuilder = new ContainerBuilder();
19
        $containerBuilder->setParameter('kernel.debug', true);
20
21
        $extension = new GloobyTaskExtension();
22
23
        $extension->load($config, $containerBuilder);
24
    }
25
}
26