public function testHasSiblingsForNodesAtLevelThree()
{
$parent = NodeFactory::getInstance();
$child = NodeFactory::getInstance();
$parent->addChild($child);
$grandChild = NodeFactory::getInstance();
$child->addChild($grandChild);
$greatGrandChild = NodeFactory::getInstance();
$grandChild->addChild($greatGrandChild);
// Should return false for node that are two levels deeps
$this->assertEquals(false, $grandChild->hasSiblings());
// Should return true for node that are three levels deeps
$this->assertEquals(true, $greatGrandChild->hasSiblings());
}