lithium\tests\cases\console\command\RouteTest::testShowWithNoRoute PHP Method

testShowWithNoRoute() public method

Test the show command with no route.
public testShowWithNoRoute ( )
    public function testShowWithNoRoute()
    {
        $command = new Route(array('routes' => $this->_config['routes'], 'classes' => array('response' => 'lithium\\tests\\mocks\\console\\MockResponse'), 'request' => new Request()));
        $command->show();
        $expected = "Please provide a valid URL\n";
        $this->assertEqual($expected, $command->response->error);
    }