Code Duplication    Length = 8-8 lines in 2 locations

test/unit/Container/ContainerTest.php 2 locations

@@ 116-123 (lines=8) @@
113
        $this->assertFalse($cont->has('foo'));
114
    }
115
116
    public function testRemove()
117
    {
118
        $cont = new Container(['foo' => 'a', 'bar' => 'b', 'baz' => 'c']);
119
        $result = $cont->remove('bar');
120
121
        $this->assertEquals(['foo' => 'a', 'baz' => 'c'], $cont->getAll());
122
        $this->assertSame($cont, $result);
123
    }
124
125
    public function testRemoveMissing()
126
    {
@@ 125-132 (lines=8) @@
122
        $this->assertSame($cont, $result);
123
    }
124
125
    public function testRemoveMissing()
126
    {
127
        $cont = new Container(['foo' => 'a', 'bar' => 'b']);
128
        $result = $cont->remove('baz');
129
130
        $this->assertEquals(['foo' => 'a', 'bar' => 'b'], $cont->getAll());
131
        $this->assertSame($cont, $result);
132
    }
133
134
    public function testSet()
135
    {