Code Duplication    Length = 19-21 lines in 2 locations

test/Helper/ArrayHelperTest.php 2 locations

@@ 170-188 (lines=19) @@
167
     * Tied to ::testGetValue
168
     * @return array
169
     */
170
    public function provideValueScenarios()
171
    {
172
        return [
173
            // first scenario
174
            [
175
                [
176
                    'foo' => [
177
                        'foo' => [
178
                            'foo' => [
179
                                'foo' => [
180
                                    'bar' => 'Lorem ipsum'
181
                                ]
182
                            ]
183
                        ]
184
                    ]
185
                ],
186
                ['foo', 'foo', 'foo', 'foo', 'bar'],
187
                'Lorem ipsum'
188
            ]
189
        ];
190
    }
191
@@ 197-217 (lines=21) @@
194
     * Tied to ::testFailGetValue
195
     * @return array
196
     */
197
    public function provideFailValueScenarios()
198
    {
199
        return [
200
            // first scenario
201
            [
202
                [
203
                    'foo' => [
204
                        'foo' => [
205
                            'foo' => [
206
                                'foo' => [
207
                                    'bar' => 'Lorem ipsum'
208
                                ]
209
                            ]
210
                        ]
211
                    ]
212
                ],
213
                ['foo', 'foo', 'foo', 'foo', 'foo', 'bar']
214
            ]
215
        ];
216
    }
217
}
218