public function testGetSharedSetUnreferenced()
 {
     // TODO: should this be moved to 14_ShareableNodes
     $iterator = $this->node->getSharedSet();
     $this->assertInstanceOf('Iterator', $iterator);
     $this->assertTrue($iterator->valid());
     $node = $iterator->current();
     $this->assertEquals($node, $this->node);
 }
示例#2
0
文件: SuluNode.php 项目: sulu/sulu
 /**
  * {@inheritdoc}
  */
 public function getSharedSet()
 {
     return $this->node->getSharedSet();
 }