SolverTest::testEmptyConstructor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
use PHPUnit\Framework\TestCase;
4
5
use HexMakina\LeMarchand\Solver;
6
use HexMakina\LeMarchand\LeMarchand;
7
8
class SolverTest extends TestCase
9
{
10
    private $container;
11
12
    protected function setUp(): void
13
    {
14
        $this->container = new LeMarchand([]);
15
    }
16
    
17
    public function testEmptyConstructor()
18
    {
19
        $res = new Solver($this->container);
20
        $this->assertInstanceOf(Solver::class, $res);
21
    }
22
23
}