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