public function testGetMultipleReturnsSeveralKeysData() { $keys = array(); $expected = array(); for ($i = 0; $i < 501; $i++) { $key = 'user.test' . $i; $userData = array('email' => 'test' . $i . '@test.com', 'name' => 'Test #' . $i, 'age' => 70); $this->cassandra->set($key, $userData); $expected['test' . $i] = $userData; $keys[] = 'test' . $i; } $this->assertEquals(array('email' => '*****@*****.**', 'name' => 'Test #0', 'age' => 70), $this->cassandra->get('user.test0')); $data = $this->cassandra->cf('user')->getMultiple($keys); $this->assertEquals($expected, $data); }