Code Duplication    Length = 7-7 lines in 2 locations

test/unit/Container/ContainerTest.php 1 location

@@ 17-23 (lines=7) @@
14
        $this->assertInstanceOf('Serializable', $cont);
15
    }
16
17
    public function testConstructor()
18
    {
19
        $params = ['foo' => 'a', 'bar' => 'b', 'baz' => 'c'];
20
        $cont = new Container($params);
21
22
        $this->assertEquals($params, $cont->getAll());
23
    }
24
25
    public function testAdd()
26
    {

test/unit/Container/ImmutableContainerTest.php 1 location

@@ 18-24 (lines=7) @@
15
        $this->assertInstanceOf('Serializable', $cont);
16
    }
17
18
    public function testConstructor()
19
    {
20
        $params = ['foo' => 'a', 'bar' => 'b', 'baz' => 'c'];
21
        $cont = new ImmutableContainer($params);
22
23
        $this->assertEquals($params, $cont->getAll());
24
    }
25
26
    public function testAdd()
27
    {