Example #1
0
 /**
  * Tests the tree method.
  *
  * @param   string   $expected  @todo
  * @param   integer  $id        @todo
  * @param   array    $params    @todo
  * @param   array    $root      @todo
  *
  * @return  void
  *
  * @since         3.1
  * @dataProvider  getTreeData
  */
 public function testTree($expected, $id, $params = array(), $root = array())
 {
     JHtmlBehavior::tree($id, $params, $root);
     $this->assertEquals($expected, JHtmlBehaviorInspector::getLoaded(), 'The tree behavior is not loaded with all dependencies');
 }