/** * Method to test isLeaf(). * * @return void * * @covers Windwalker\Record\NestedRecord::isLeaf */ public function testIsLeaf() { $this->assertTrue($this->instance->isLeaf(5)); $this->assertFalse($this->instance->isLeaf(2)); }