/** * @covers BackBee\NestedNode\Page::getSection() */ public function testGetSection() { $this->assertEquals($this->page->getMainSection(), $this->page->getSection()); $page = new Page('test'); $this->assertEquals($page->getMainSection(), $page->getSection()); $this->assertEquals('test', $page->getSection()->getUid()); }