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

InfluxDbBundleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 16
rs 10
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