public function testCurrent() {
$this->assertFalse(isset($this->_recordSet[0]));
$this->_recordSet->set('_pointer', 1);
$this->assertEqual($this->_records[1], $this->_recordSet->current()->to('array'));
$this->_recordSet->set('_pointer', 2);
$this->assertEqual($this->_records[2], $this->_recordSet->current()->to('array'));
$this->assertFalse(isset($this->_objectRecordSet[0]));
$this->_recordSet->set('_pointer', 1);
$result = $this->_recordSet->current();
$this->assertEqual($this->_objectRecords[1]->id, $result->id);
$this->assertEqual($this->_objectRecords[1]->data, $result->data);
$this->_recordSet->set('_pointer', 2);
$result = $this->_recordSet->current();
$this->assertEqual($this->_objectRecords[2]->id, $result->id);
$this->assertEqual($this->_objectRecords[2]->data, $result->data);
}