Code Duplication    Length = 7-7 lines in 2 locations

tests/DependencyInjection/InnmindNeo4jExtensionTest.php 2 locations

@@ 44-50 (lines=7) @@
41
        $this->e->load($config, $this->c);
42
    }
43
44
    public function testPersister()
45
    {
46
        $def = $this->c->getDefinition('innmind_neo4j.unit_of_work');
47
48
        $this->assertInstanceOf(Reference::class, $def->getArgument(5));
49
        $this->assertSame('another_service', (string) $def->getArgument(5));
50
    }
51
52
    public function testConnection()
53
    {
@@ 82-88 (lines=7) @@
79
        $this->assertSame('bar', $calls[1][1][0]);
80
    }
81
82
    public function testMetadataConfiguration()
83
    {
84
        $def = $this->c->getDefinition('innmind_neo4j.metadata_builder');
85
86
        $this->assertInstanceOf(Reference::class, $def->getArgument(2));
87
        $this->assertSame('config', (string) $def->getArgument(2));
88
    }
89
90
    public function testDefaultPersister()
91
    {