public function testScriptFilename() { $request = new Request(array('env' => array('SCRIPT_FILENAME' => '/lithium/app/webroot/index.php'))); $result = $request->env('SCRIPT_FILENAME'); $this->assertEqual('/lithium/app/webroot/index.php', $result); }