/** * @covers BackBee\NestedNode\AbstractNestedNode::isLeaf */ public function testIsLeaf() { $this->assertTrue($this->mock->isLeaf()); $this->mock->setRightnode(4); $this->assertFalse($this->mock->isLeaf()); }