ProophBundleTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testBuild_ByTestKernelWithThisBundle_ShouldPass() 0 6 1
A whenBootWithBundle() 0 9 1
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