Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
17 | 1 | public function testConstruct(): void |
|
18 | { |
||
19 | 1 | $service = $this->createMock(MoneyServiceInterface::class); |
|
20 | 1 | $unwrappedMap = (new MoneyServiceMap(['a' => $service]))->unwrap(); |
|
21 | 1 | $this->assertNotSame($service, $unwrappedMap['a']); |
|
22 | 1 | $this->assertEquals($service, $unwrappedMap['a']); |
|
23 | 1 | } |
|
25 |