Failed Conditions
Pull Request — master (#1)
by GBProd
11:06 queued 01:31
created

ElasticaSpecificationBundleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
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 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testConstruction() 0 7 1
1
<?php
2
3
namespace Tests\GBProd\ElasticaSpecificationBundle;
4
5
use GBProd\ElasticaSpecificationBundle\ElasticaSpecificationBundle;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
8
/**
9
 * Tests for ElasticaSpecificationBundle
10
 *
11
 * @author GBProd <[email protected]>
12
 */
13
class ElasticaSpecificationBundleTest extends \PHPUnit_Framework_TestCase
14
{
15
    public function testConstruction()
16
    {
17
        $bundle = new ElasticaSpecificationBundle();
18
19
        $this->assertInstanceOf(ElasticaSpecificationBundle::class, $bundle);
20
        $this->assertInstanceOf(Bundle::class, $bundle);
21
    }
22
}
23