public function setUp()
{
$result = new MockResult(array('records' => $this->_records));
$model = $this->_model;
$this->_recordSet = new MockMultiKeyRecordSet(compact('result', 'model') + array('exists' => true));
$result = new MockResult(array('records' => $this->_records));
foreach ($this->_records as $i => $record) {
$this->_objectRecords[$i] = new MockPostObject($record);
}
$this->_objectRecordSet = new MockMultiKeyRecordSet(compact('result', 'model') + array('exists' => true));
}