tao-test/app/tao/test/unit/model/Tree/TreeWrapperTest.php

19 lines
372 B
PHP
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?php
namespace oat\test\model\Tree;
use oat\tao\model\Tree\TreeWrapper;
use oat\generis\test\TestCase;
class TreeWrapperTest extends TestCase
{
public function testGetDefaultChildren()
{
$treeWrapper = new TreeWrapper(['bla']);
$default = $treeWrapper->getDefaultChildren();
$this->assertEquals([], $default->getTreeArray());
}
}