Code Duplication    Length = 7-7 lines in 2 locations

test/unit/SimpleCacheAdapterTest.php 2 locations

@@ 277-283 (lines=7) @@
274
        $psrCache->getMultiple(new \ArrayObject(array_keys($values)));
275
    }
276
277
    public function testGetMultipleThrowsExceptionWhenNotArrayOrTraversable()
278
    {
279
        $this->expectException(InvalidArgumentException::class);
280
281
        $psrCache = new SimpleCacheAdapter(new ArrayCache());
282
        $psrCache->getMultiple(uniqid('string', true));
283
    }
284
285
    public function testSetMultipleProxiesToSaveMultiple()
286
    {
@@ 351-357 (lines=7) @@
348
        $psrCache->setMultiple($values, $ttl);
349
    }
350
351
    public function testSetMultipleThrowsExceptionWhenNotArrayOrTraversable()
352
    {
353
        $this->expectException(InvalidArgumentException::class);
354
355
        $psrCache = new SimpleCacheAdapter(new ArrayCache());
356
        $psrCache->setMultiple(uniqid('string', true));
357
    }
358
359
    public function testDeleteMultipleReturnsTrueWhenAllDeletesSucceed()
360
    {