assertNotEmpty($result); $this->assertIsArray($result); } public function testGetNavigation(){ $antCMS = new AntCMS; $pageTemplate = $antCMS->getThemeTemplate(); $navLayout = $antCMS->getThemeTemplate('nav'); $result = AntPages::generateNavigation($navLayout, $pageTemplate); $this->assertNotEmpty($result); $this->assertIsString($result); } }