Ejemplo n.º 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testRenderWithChildrenActivePageOnTheForthDocument()
 {
     Registry::get('Application')->getRequest()->getUri()->setPath('/url-key/children-key/second-child-key');
     $this->object = new Navigation();
     $this->object->useActiveBranch(true);
     $array = $this->object->render();
     $this->assertTrue(count($array) > 0);
 }