|
@@ 287-293 (lines=7) @@
|
| 284 |
|
self::assertSame($values, $psrCache->getMultiple($generator())); |
| 285 |
|
} |
| 286 |
|
|
| 287 |
|
public function testGetMultipleThrowsExceptionWhenNotArrayOrTraversable() |
| 288 |
|
{ |
| 289 |
|
$this->expectException(InvalidArgumentException::class); |
| 290 |
|
|
| 291 |
|
$psrCache = new SimpleCacheAdapter(new ArrayCache()); |
| 292 |
|
$psrCache->getMultiple(uniqid('string', true)); |
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
public function testSetMultipleProxiesToSaveMultiple() |
| 296 |
|
{ |
|
@@ 361-367 (lines=7) @@
|
| 358 |
|
$psrCache->setMultiple($values, $ttl); |
| 359 |
|
} |
| 360 |
|
|
| 361 |
|
public function testSetMultipleThrowsExceptionWhenNotArrayOrTraversable() |
| 362 |
|
{ |
| 363 |
|
$this->expectException(InvalidArgumentException::class); |
| 364 |
|
|
| 365 |
|
$psrCache = new SimpleCacheAdapter(new ArrayCache()); |
| 366 |
|
$psrCache->setMultiple(uniqid('string', true)); |
| 367 |
|
} |
| 368 |
|
|
| 369 |
|
public function testSetMultipleAcceptsGenerator() |
| 370 |
|
{ |