lithium\tests\cases\console\DispatcherTest::testRunWithCommand PHP Method

testRunWithCommand() public method

public testRunWithCommand ( )
    public function testRunWithCommand()
    {
        $response = Dispatcher::run(new Request(array('args' => array('lithium\\tests\\mocks\\console\\MockDispatcherCommand'))));
        $expected = 'run';
        $result = $response->testAction;
        $this->assertEqual($expected, $result);
    }