public function testRoots()
 {
     $data = [1, 14];
     $this->assertEquals($data, array_map(function ($value) {
         return $value->id;
     }, Node::find()->roots()->all()));
     $this->assertEquals($data, array_map(function ($value) {
         return $value->id;
     }, AttributeModeNode::find()->roots()->all()));
     $this->assertEquals($data, array_map(function ($value) {
         return $value->id;
     }, MultipleTreeNode::find()->roots()->all()));
 }
 public function testUpdate()
 {
     $node = Node::findOne(3);
     $node->slug = 'update';
     $this->assertEquals(1, $node->update());
 }