| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 1 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php declare(strict_types=1); | ||
| 17 | 1 | public function testConstructWithSelf(): void | |
| 18 |     { | ||
| 19 | 1 | $adapterMock = $this->createMock(MigrationAdapterInterface::class); | |
| 20 | 1 | $adapterMap = new MigrationAdapterMap(['mock' => $adapterMock]); | |
| 21 | 1 | $newMap = new MigrationAdapterMap($adapterMap); | |
| 22 | 1 | $this->assertCount(1, $newMap); | |
| 23 | 1 | $this->assertNotSame($adapterMap, $newMap); | |
| 24 | 1 | $this->assertEquals($adapterMap, $newMap); | |
| 25 | 1 | } | |
| 37 |