ServiceDefinitionTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 3
c 2
b 0
f 0
dl 0
loc 11
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A kernel_should_boot() 0 3 1
1
<?php
2
3
namespace Avoran\RapidoBundle;
4
5
use Avoran\RapidoAdapter\DoctrineDbalStorage\DoctrineDbalStorageWriter;
6
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
7
8
class ServiceDefinitionTest extends KernelTestCase
9
{
10
    protected function setUp()
11
    {
12
        self::bootKernel();
13
    }
14
15
    /** @test */
16
    public function kernel_should_boot()
17
    {
18
        $this->assertInstanceOf(DoctrineDbalStorageWriter::class, self::$kernel->getContainer()->get('rapido.storage_writer'));
19
    }
20
}
21