Code Duplication    Length = 7-7 lines in 2 locations

Tests/RegistryTest.php 2 locations

@@ 17-23 (lines=7) @@
14
15
class RegistryTest extends TestCase
16
{
17
    public function testGetDefaultConnectionName() : void
18
    {
19
        $container = $this->getMockBuilder('Symfony\Component\DependencyInjection\ContainerInterface')->getMock();
20
        $registry  = new Registry($container, [], [], 'default', 'default');
21
22
        $this->assertEquals('default', $registry->getDefaultConnectionName());
23
    }
24
25
    public function testGetDefaultEntityManagerName() : void
26
    {
@@ 25-31 (lines=7) @@
22
        $this->assertEquals('default', $registry->getDefaultConnectionName());
23
    }
24
25
    public function testGetDefaultEntityManagerName() : void
26
    {
27
        $container = $this->getMockBuilder('Symfony\Component\DependencyInjection\ContainerInterface')->getMock();
28
        $registry  = new Registry($container, [], [], 'default', 'default');
29
30
        $this->assertEquals('default', $registry->getDefaultManagerName());
31
    }
32
33
    public function testGetDefaultConnection() : void
34
    {