Source

						public function testShiftTwo() {
		$request = new Request();
		$request->params = array(
			'command' => 'one', 'action' => 'two',
			'args' => array('three', 'four', 'five')
		);
		$request->shift(2);

		$expected = array('command' => 'three', 'action' => 'four', 'args' => array('five'));
		$result = $request->params;
		$this->assertEqual($expected, $result);
	}