public function testFindRelationMustSpecifyRelOrRev() { $active = $this->_helper->findOneByLabel('Home'); try { $this->_helper->findRelation($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 argument: $rel', $e->getMessage()); } }