Passed
Push — master ( 7815e3...d45a7a )
by Pieter
04:53
created

ServiceDefinitionTest::kernel_should_boot()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Avoran\RapidoBundle;
4
5
use Avoran\RapidoAdapter\DoctrineDbalStorage\DoctrineDbalStorageWriter;
6
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
7
use Symfony\Component\DependencyInjection\ContainerInterface;
8
9
class ServiceDefinitionTest extends KernelTestCase
10
{
11
    /** @var ContainerInterface */
12
    private $container;
13
14
    protected function setUp()
15
    {
16
        $this->container = self::bootKernel()->getContainer();
17
    }
18
19
    /** @test */
20
    public function kernel_should_boot()
21
    {
22
        $this->assertInstanceOf(DoctrineDbalStorageWriter::class, $this->container->get('rapido.storage_writer'));
23
    }
24
}
25