public function testIsLeaf()
 {
     $this->assertTrue(Tree::findOne(4)->isLeaf());
     $this->assertFalse(Tree::findOne(1)->isLeaf());
 }