Extends
lithium\test\UnitSource
public function setUp() {
$this->_backup['cwd'] = getcwd();
$this->_backup['_SERVER'] = $_SERVER;
$_SERVER['argv'] = array();
Libraries::add('create_test', array('path' => $this->_testPath . '/create_test'));
$this->request = new Request(array('input' => fopen('php://temp', 'w+')));
$this->request->params = array('library' => 'create_test', 'action' => null);
Connections::add('default', array(
'type' => null,
'adapter' => 'lithium\tests\mocks\data\model\MockDatabase'
));
}