Example #1
0
 public function testRenderSubMenuShouldOverrideOptions()
 {
     $this->_helper->setOnlyActiveBranch(false)->setMinDepth(1)->setMaxDepth(2)->setRenderParents(true);
     $expected = $this->_getExpected('menu/onlyactivebranch_noparents.html');
     $actual = $this->_helper->renderSubMenu();
     $this->assertEquals($expected, $actual);
 }
 /**
  * @group ZF-7212
  */
 public function testRenderingSubMenuWithUlId()
 {
     $this->assertContains('<ul class="navigation" id="foo">', $this->_helper->renderSubMenu(null, null, null, 'foo'));
 }