title: How to unit test controllers in Yii
body: <p>How's this done? Do I just prepare a <code>$_POST</code>/<code>$_GET</code>/<code>$_FILES</code> set and pass it to the controller? Or is there some more elegant way to test the Yii controllers?</p>