Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
15 | final class JobStrategyMapTest extends TestCase |
||
16 | { |
||
17 | 1 | public function testConstructWithSelf(): void |
|
18 | { |
||
19 | 1 | $strategyMock = $this->createMock(JobStrategyInterface::class); |
|
20 | 1 | $strategyMap = new JobStrategyMap(['mock' => $strategyMock]); |
|
21 | 1 | $newMap = new JobStrategyMap($strategyMap); |
|
22 | 1 | $this->assertCount(1, $newMap); |
|
23 | 1 | $this->assertFalse($strategyMap === $newMap); |
|
24 | 1 | } |
|
25 | |||
26 | 1 | public function testPush(): void |
|
35 | 1 | } |
|
36 | } |
||
37 |