/** * @expectedException LogicException */ public function testSetDataException() { $page = new Herbie\Page(); $page->setData(['segments' => []]); }