Code Duplication    Length = 16-16 lines in 2 locations

tests/ContainerHydratorTest.php 2 locations

@@ 102-117 (lines=16) @@
99
        $loader->populate($container, new stdClass());
100
    }
101
102
    public function testAddingScalar()
103
    {
104
        $loader = $this->obj;
105
106
        $config = [
107
            'key' => 'value',
108
        ];
109
110
        $container = $this->getContainerMock();
111
112
        $container->expects($this->once())
113
                  ->method('add')
114
                  ->with('key', 'value', false);
115
116
        $loader->populate($container, $config);
117
    }
118
119
    public function testAddingConcrete()
120
    {
@@ 155-170 (lines=16) @@
152
        $loader->populate($container, $config);
153
    }
154
155
    public function testAddingAlias()
156
    {
157
        $loader = $this->obj;
158
159
        $config = [
160
            'TestInterface' => 'Test',
161
        ];
162
163
        $container = $this->getContainerMock();
164
165
        $container->expects($this->once())
166
                  ->method('add')
167
                  ->with('TestInterface', 'Test', false);
168
169
        $loader->populate($container, $config);
170
    }
171
172
    public function testAddingShared()
173
    {