Source

						public function testConstructWithConfigArgv() {
		$request = new Request(array('args' => array('/path/to/lithium.php', 'wrong')));

		$expected = array('/path/to/lithium.php', 'wrong');
		$result = $request->argv;
		$this->assertEqual($expected, $result);

		$_SERVER['argv'] = array('/path/to/lithium.php');
		$request = new Request(array('args' => array('one', 'two')));

		$expected = '/path/to/lithium.php';
		$result = $request->env('script');
		$this->assertEqual($expected, $result);

		$expected = array('one', 'two');
		$result = $request->argv;
		$this->assertEqual($expected, $result);
	}