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); }
/** * {@inheritdoc} */ public function getSharedSet() { return $this->node->getSharedSet(); }