Code Duplication    Length = 7-7 lines in 2 locations

test/unit/SimpleCacheAdapterTest.php 2 locations

@@ 267-273 (lines=7) @@
264
        $psrCache->getMultiple(new \ArrayObject(array_keys($values)));
265
    }
266
267
    public function testGetMultipleThrowsExceptionWhenNotArrayOrTraversable()
268
    {
269
        $this->expectException(InvalidArgumentException::class);
270
271
        $psrCache = new SimpleCacheAdapter(new ArrayCache());
272
        $psrCache->getMultiple(uniqid('string', true));
273
    }
274
275
    public function testSetMultipleProxiesToSaveMultiple()
276
    {
@@ 341-347 (lines=7) @@
338
        $psrCache->setMultiple($values, $ttl);
339
    }
340
341
    public function testSetMultipleThrowsExceptionWhenNotArrayOrTraversable()
342
    {
343
        $this->expectException(InvalidArgumentException::class);
344
345
        $psrCache = new SimpleCacheAdapter(new ArrayCache());
346
        $psrCache->setMultiple(uniqid('string', true));
347
    }
348
349
    public function testDeleteMultipleReturnsTrueWhenAllDeletesSucceed()
350
    {