Source

						public function testRequestWithoutUrlQueryParamAndNoApp() {
		unset($_GET['url']);
		$request = new Request(array('env' => array(
			'PHP_SELF' => '/test_app/webroot/index.php',
			'REQUEST_URI' => '/test_app/'
		)));
		$this->assertEqual('/test_app', $request->env('base'));
		$this->assertEqual('/', $request->url);
	}