ServiceTest   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testServices() 0 13 3
1
<?php
2
3
namespace Psi\Bundle\Grid\Tests\Functional;
4
5
class ServiceTest extends BaseTestCase
6
{
7
    public function testServices()
8
    {
9
        $container = $this->getContainer();
10
11
        foreach ($container->getServiceIds() as $serviceId) {
12
            if (0 === strpos($serviceId, 'psi_grid')) {
13
                $service = $container->get($serviceId);
14
15
                // for the sake of incrementing the assertion count...
16
                $this->assertNotNull($service);
17
            }
18
        }
19
    }
20
}
21