Code Duplication    Length = 8-8 lines in 2 locations

test/unit/Container/ContainerTest.php 2 locations

@@ 95-102 (lines=8) @@
92
        $this->assertFalse($cont->has('foo'));
93
    }
94
95
    public function testRemove()
96
    {
97
        $cont = new Container(['foo' => 'a', 'bar' => 'b', 'baz' => 'c']);
98
        $result = $cont->remove('bar');
99
100
        $this->assertEquals(['foo' => 'a', 'baz' => 'c'], $cont->getAll());
101
        $this->assertSame($cont, $result);
102
    }
103
104
    public function testRemoveMissing()
105
    {
@@ 104-111 (lines=8) @@
101
        $this->assertSame($cont, $result);
102
    }
103
104
    public function testRemoveMissing()
105
    {
106
        $cont = new Container(['foo' => 'a', 'bar' => 'b']);
107
        $result = $cont->remove('baz');
108
109
        $this->assertEquals(['foo' => 'a', 'bar' => 'b'], $cont->getAll());
110
        $this->assertSame($cont, $result);
111
    }
112
113
    public function testSet()
114
    {