Passed
Push — main ( 9ea2b8...dcf509 )
by Sammy
07:07
created

LeMarchandTest::testEmptyConstructor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 7
rs 10
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
}