Completed
Pull Request — master (#47)
by Rumus
06:19
created

ConfigurationTest::testCanByConstructed()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Kami\ApiCoreBundle\Tests\DependencyInjection;
4
5
use Kami\ApiCoreBundle\DependencyInjection\Configuration;
6
use PHPUnit\Framework\TestCase;
7
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
8
9
class ConfigurationTest extends TestCase
10
{
11
   public function testCanByConstructed ()
12
   {
13
       $configuration = new Configuration();
14
       $treeBuilder = $configuration->getConfigTreeBuilder();
15
16
       $this->assertInstanceOf(TreeBuilder::class, $treeBuilder);
17
   }
18
}
19