Example #1
0
 public function testIsRoot()
 {
     $data = new template\data();
     $this->assert->boolean($data->isRoot())->isTrue();
     $data->setParent(new template\tag(uniqid()));
     $this->assert->boolean($data->isRoot())->isFalse();
 }