/** * {@inheritdoc} */ public function getPrimaryItem() { return $this->node->getPrimaryItem(); }
/** * @expectedException \PHPCR\ItemNotFoundException * @group getPrimaryItem */ public function testGetPrimaryItemItemNotFound() { $this->rootNode->getPrimaryItem(); }