/** * @covers BackBee\NestedNode\Section::__construct */ public function test__construct() { $section = new Section(); $this->assertNotNull($section->getPage()); $this->assertNull($section->getSite()); $this->assertInstanceOf('Doctrine\\Common\\Collections\\ArrayCollection', $section->getPages()); }