FruitwareYandexGeocoderBundleTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 2
dl 0
loc 20
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A testBundle() 0 4 1
1
<?php
2
3
namespace Fruitware\YandexGeocoderBundle\Tests;
4
5
use Fruitware\YandexGeocoderBundle\FruitwareYandexGeocoderBundle;
6
7
class FruitwareYandexGeocoderBundleTest extends \PHPUnit_Framework_TestCase
8
{
9
    /**
10
     * @var FruitwareYandexGeocoderBundle
11
     */
12
    private $bundle;
13
14
    /**
15
     * {@inheritdoc}
16
     */
17
    protected function setUp()
18
    {
19
        $this->bundle = new FruitwareYandexGeocoderBundle();
20
    }
21
22
    public function testBundle()
23
    {
24
        $this->assertInstanceOf('Symfony\Component\HttpKernel\Bundle\Bundle', $this->bundle);
25
    }
26
}