@@ 208-214 (lines=7) @@ | ||
205 | $psrCache->getMultiple(new \ArrayObject(array_keys($values))); |
|
206 | } |
|
207 | ||
208 | public function testGetMultipleThrowsExceptionWhenNotArrayOrTraversable() |
|
209 | { |
|
210 | $this->expectException(InvalidArgumentException::class); |
|
211 | ||
212 | $psrCache = new SimpleCacheAdapter(new ArrayCache()); |
|
213 | $psrCache->getMultiple(uniqid('string', true)); |
|
214 | } |
|
215 | ||
216 | public function testSetMultipleProxiesToSaveMultiple() |
|
217 | { |
|
@@ 231-237 (lines=7) @@ | ||
228 | self::assertTrue($psrCache->setMultiple($values)); |
|
229 | } |
|
230 | ||
231 | public function testSetMultipleThrowsExceptionWhenNotArrayOrTraversable() |
|
232 | { |
|
233 | $this->expectException(InvalidArgumentException::class); |
|
234 | ||
235 | $psrCache = new SimpleCacheAdapter(new ArrayCache()); |
|
236 | $psrCache->setMultiple(uniqid('string', true)); |
|
237 | } |
|
238 | ||
239 | public function testDeleteMultipleReturnsTrueWhenAllDeletesSucceed() |
|
240 | { |