ProophBundleTest::whenBootWithBundle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php declare(strict_types = 1);
2
3
namespace TomCizek\SymfonyProoph\Tests;
4
5
use Prooph\InteropBundle\ProophInteropBundle;
6
use TomCizek\SymfonyProoph\ProophBundle;
7
use TomCizek\SymfonyProoph\Tests\Configurators\ProophTestCase;
8
9
class ProophBundleTest extends ProophTestCase
10
{
11
	public function testBuild_ByTestKernelWithThisBundle_ShouldPass()
12
	{
13
		$this->whenBootWithBundle();
14
15
		$this->thenPass();
16
	}
17
18
	protected function whenBootWithBundle()
19
	{
20
		$this->bootKernelWith(
21
			[
22
				ProophInteropBundle::class,
23
				ProophBundle::class,
24
			]
25
		);
26
	}
27
}
28