public function testRenderLinkMustSpecifyRelOrRev() { $active = $this->_helper->findOneByLabel('Home'); try { $this->_helper->renderLink($active, 'foo', 'bar'); $this->fail('An invalid value was given, but a ' . 'Zend_View_Exception was not thrown'); } catch (Zend_View_Exception $e) { $this->assertContains('Invalid relation attribute', $e->getMessage()); } }