public function getType() { return $this->type; }
public function testLayoutItem() { $item = new Item('Test of content', 'index.html', [], false, Item::TYPE_LAYOUT); $this->assertEquals(item::TYPE_LAYOUT, $item->getType()); }