Ejemplo n.º 1
0
 public function testIsFirst()
 {
     $this->assertFalse($this->menu->isFirst(), 'The root item is not considered as first');
     $this->assertTrue($this->pt1->isFirst());
     $this->assertFalse($this->pt2->isFirst());
     $this->assertTrue($this->ch4->isFirst());
 }