public function testGettingMultipleKeysIsDelegatedToClient()
 {
     $items = ['key1' => 'foo', 'key2' => 'bar'];
     $keys = array_keys($items);
     $this->mockClient->expects($this->once())->method('getMulti')->with($keys)->willReturn($items);
     $this->assertSame($items, $this->store->multiGet(...$keys));
 }
 public function testMultipleValuesAreSetAndRetrieved()
 {
     $keys = ['key1', 'key2'];
     $values = ['foo', 'bar'];
     $items = array_combine($keys, $values);
     $this->keyValueStore->multiSet($items);
     $result = $this->keyValueStore->multiGet(...$keys);
     $this->assertSame($items, $result);
 }