/** * It should be possible to link the last element in the breadcrumb * */ public function testShouldBeAbleToLinkLastElement() { $old = $this->_helper->getLinkLast(); $this->_helper->setLinkLast(true); $expected = file_get_contents($this->_files . '/breadcrumbs_linklast.html'); $this->assertEquals($expected, $this->_helper->toString()); $this->_helper->setLinkLast($old); }