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

GloobyTaskExtensionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 14
rs 10
c 0
b 0
f 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