SolverTest::setUp()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 2
b 0
f 1
nc 1
nop 0
dl 0
loc 3
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
}