how to handle deny all in testing your web interface?

I have controller with access rules: array(‘deny’, // deny all users ‘users’=>array(’*’), ),

Then i want to test that code (every user authorized or not cant access to this controller via WEB).

public function testShow()




And i have error in my console: There was 1 error:

  1. LinkTest::testShow PHPUnit_Framework_Exception: Response from Selenium RC server for testComplete(). XHR ERROR: URL = Response_Code = 403 Error_Message = CHttpException.

Want to make a test where i can ensure that link controller not visible via web.

Check this: