public function testKey() { $this->_recordSet->current(); $this->assertEqual(1, $this->_recordSet->key()); $this->_recordSet->next(); $this->assertEqual(2, $this->_recordSet->key()); }