public function testBaseWithAppAndOtherDirectory() { $request = new Request(array('env' => array('DOCUMENT_ROOT' => '/www', 'PHP_SELF' => '/lithium/app/other/webroot/index.php'))); $this->assertEqual('/lithium/app/other', $request->env('base')); }