public testRenderWithChildrenActivePage ( ) : void | ||
return | void |
public function testRenderWithChildrenActivePage()
{
Registry::get('Application')->getRequest()->getUri()->setPath('/url-key/url-key/url-key');
$this->object = new Navigation();
$this->object->useActiveBranch(true);
$array = $this->object->render();
$this->assertTrue(count($array) > 0);
}