/** * It should be possible to render another nav structure without * interfering with the one registered in the helper * */ public function testShouldBePossibleToRenderAnotherNavWithoutInterfering() { $expected = file_get_contents($this->_files . '/breadcrumbs.html'); $this->assertEquals($expected, $this->_helper->toString()); $oldMin = $this->_helper->getMinDepth(); $this->_helper->setMinDepth(0); $this->assertEquals("Site 2\n", $this->_helper->renderBreadcrumbs($this->_nav2)); $this->assertEquals($expected, $this->_helper->toString()); $this->_helper->setMinDepth($oldMin); }