/** * @param $query * @param array $limit * @param array $options * @return array */ public function find($query, $limit = array(1, 0), $options = array()) { return $this->_driverInstance->find($this->getReadIndex(), $query, $limit, $options); }
/** * @test * @expectedException Ext_HandlerSocket_Driver_Exception */ public function streamWriteErrorReadRequest() { $this->_driver->setReadStream(new Ext_HandlerSocket_Driver_Mocks_StreamWriteErrorMock()); $result = $this->_driver->find(1, array('=' => 'value'), array(1, 10)); }