/** * Tests that calling a nonexistant helper file throws the expected exception */ public function testLoadHelperNonexistantFile() { $this->setExpectedException('Zend\\Loader\\PluginLoaderException', 'not found'); $view = new View(); $view->nonexistantHelper(); }