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)); }