Source

						public function testConstructWithConfigArgs() {
		$request = new Request(array(
			'args' => array('ok')
		));
		$expected = array('ok');
		$this->assertEqual($expected, $request->argv);

		$request = new Request(array(
			'env' => array('script' => '/path/to/lithium.php'),
			'args' => array('one', 'two', 'three', 'four')
		));

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

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