LeMarchandTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testEmptyConstructor() 0 7 1
1
<?php
2
3
use PHPUnit\Framework\TestCase;
4
5
use HexMakina\LeMarchand\LeMarchand;
6
use Psr\Container\ContainerInterface;
7
use Psr\Container\ContainerExceptionInterface;
8
use Psr\Container\NotFoundExceptionInterface;
9
10
11
class LeMarchandTest extends TestCase
12
{
13
   public function testEmptyConstructor()
14
   {
15
        $res = new LeMarchand([]);
16
        $this->assertInstanceOf(LeMarchand::class, $res);
17
        $this->assertInstanceOf(ContainerInterface::class, $res);
18
19
        $this->assertFalse($res->has('test'));
20
   }
21
22
}