To clarify:  

 * my concern is that Controller is not aware of its access model under
BjyAuthorize.  Is that they way it was intended to be?  Is that a good
practice to leave it be this way?

* Can I test this Controller with various roles under BjyAuthorize, to see
which roles are allowed, and which roles are denied?  How, where do I do
this?

*  Aside from the above, there is an  article on testing Controllers
<http://framework.zend.com/manual/2.2/en/modules/zend.test.phpunit.html>  .  
If I want to test my Controller, am I to use that article's way of testing
(in addition to any testing above, if that happens to be different)?  The
article doesn't go into access models however, so it will be simple testing,
not the kind I need.



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-to-PHPUnit-test-a-Controller-under-BjyAuthorize-tp4661333p4661334.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to