Extends
lithium\test\UnitSource
public function setUp() {
$this->_configs = Connections::config();
Connections::reset();
$this->db = new CouchDb(array('socket' => false));
Connections::config(array(
'mock-couchdb-connection' => array('object' => &$this->db, 'adapter' => 'CouchDb')
));
$model = $this->_model;
$entity = new Document(compact('model'));
$this->query = new Query(compact('model', 'entity'));
}