ApiWrapperExtensionTest::testExtension()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Franjid\ApiWrapperBundle\Tests\DependencyInjection;
4
5
use Franjid\ApiWrapperBundle\DependencyInjection\ApiWrapperExtension;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
8
class ApiWrapperExtensionTest extends \PHPUnit_Framework_TestCase
9
{
10
    /**
11
     * @var ContainerBuilder
12
     */
13
    private $container;
14
15
    /**
16
     * @var ApiWrapperExtension
17
     */
18
    private $extension;
19
20
    public function setUp()
21
    {
22
        $this->container = new ContainerBuilder();
23
        $this->extension = new ApiWrapperExtension();
24
    }
25
26
    public function testExtension()
27
    {
28
        $config = [];
29
        $this->extension->load($config, $this->container);
30
    }
31
}
32