SandboxExtensionTest::testLoad()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace SandboxBundle\Tests\DependencyInjection;
3
4
use danrevah\SandboxBundle\DependencyInjection\SandboxExtension;
5
use ShortifyPunit\ShortifyPunit;
6
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
7
8
class SandboxExtensionTest extends WebTestCase
9
{
10
11
    // Test for code coverage only testing that there's not Exceptions with the configuration
12
    public function testLoad()
13
    {
14
        $containerBuilder = ShortifyPunit::mock('Symfony\Component\DependencyInjection\ContainerBuilder');
15
        $sandboxExtension = new SandboxExtension();
16
        $sandboxExtension->load(array('sandbox' => array('response' => array('force' => true))), $containerBuilder);
17
    }
18
}