public function testKeysCanBeFetchedByRange2() { $expected = array(); $this->cassandra->truncate('user'); for ($i = ord('a'); $i < ord('z'); $i++) { $testData = array('age' => 50, 'email' => 'test' . $i . '@test.com', 'name' => 'Test #' . $i); $this->cassandra->set('user.test-' . chr($i), $testData); $expected['test-' . chr($i)] = $testData; } $data = $this->cassandra->cf('user')->getKeyRange(); $results = $data->getAll(); $this->assertEquals($expected, $results); }