public function testMagicCallUnknownHelper() { // create an unknown helper name $helper_name = 'unknow_helper_name'; // we expect an exception to be thrown, helper_name is not set $this->setExpectedException('exception', 'ActionHelper ' . $helper_name . ' not found!'); // call unknown helper name $this->object->__call($helper_name, array()); }