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

testInvalidCommand() public method

public testInvalidCommand ( )
    public function testInvalidCommand()
    {
        $expected = (object) array('status' => "Command `\\this\\command\\is\\fake` not found.\n");
        $result = Dispatcher::run(new Request(array('args' => array('\\this\\command\\is\\fake', 'testAction'))));
        $this->assertEqual($expected, $result);
    }