Example #1
0
 public function setUp()
 {
     $_SERVER = array('REQUEST_URI' => '/index/index/param1/1/?param2=2');
     $this->request = $this->getMockRequest();
     $this->application = new \Rapid\Application(__DIR__ . '/../../../application/', 'development');
     $this->application->addModule('admin/');
     $this->router = new \Rapid\Router($this->application, $this->request);
 }