lithium\tests\cases\console\RouterTest::testParseArguments PHP Method

testParseArguments() public method

public testParseArguments ( )
    public function testParseArguments()
    {
        $expected = array('command' => 'test', 'action' => 'action', 'args' => array('param'));
        $result = Router::parse(new Request(array('args' => array('test', 'action', 'param'))));
        $this->assertEqual($expected, $result);
    }