public function testSetBothDepts() { $this->_helper->setMinDepth(1)->setMaxDepth(2); $expected = $this->_getExpected('menu/bothdepts.html'); $actual = $this->_helper->renderMenu(); $this->assertEquals($expected, $actual); }
/** * @group ZF-8951 */ public function testRenderingWithParentClassAndOnlyActiveBranchAndBothDepts() { $this->_helper->setRenderParentClass(true); $this->_helper->setOnlyActiveBranch(true); $expected = $this->_getExpected('menu/parentclass_onlyactivebranch_bothdepts.html'); $actual = $this->_helper->setMinDepth(1)->setMaxDepth(2)->render(); $this->assertEquals($expected, $actual); }