/**
  * @covers BackBee\NestedNode\AbstractNestedNode::isDescendantOf
  */
 public function testIsDescendantOf()
 {
     $this->assertFalse($this->mock->isDescendantOf($this->mock));
     $this->assertTrue($this->mock->isDescendantOf($this->mock, false));
     $other_mock = new MockNestedNode();
     $this->assertFalse($other_mock->isDescendantOf($this->mock));
     $other_mock->setRoot($this->mock)->setLeftnode(2)->setRightnode(3);
     $this->mock->setRightnode(4);
     $this->assertTrue($other_mock->isDescendantOf($this->mock));
 }