public function testRewind()
{
$this->_recordSet->rewind();
$expected = array('id' => 1, 'data' => 'data1');
$this->assertEqual($expected, $this->_recordSet->current()->to('array'));
$this->_objectRecordSet->rewind();
$result = $this->_objectRecordSet->current();
$this->assertEqual(1, $result->id);
$this->assertEqual('data1', $result->data);
}