Completed
Push — master ( cb575d...8e212c )
by Alessandro
02:01
created

InfluxDbBundleTest::test_get_container_extension()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
//declare(strict_types=1);
3
4
namespace Algatux\InfluxDbBundle\unit;
5
6
use Algatux\InfluxDbBundle\DependencyInjection\InfluxDbExtension;
7
use Algatux\InfluxDbBundle\InfluxDbBundle;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
class InfluxDbBundleTest extends \PHPUnit_Framework_TestCase
11
{
12
13
    public function test_get_container_extension()
14
    {
15
16
        $bundle = new InfluxDbBundle();
17
18
        $extension = $bundle->getContainerExtension();
19
20
        $this->assertInstanceOf(Bundle::class, $bundle);
21
        $this->assertInstanceOf(InfluxDbExtension::class, $extension);
22
23
    }    
24
    
25
}
26