/** * Set/get relation Id */ public function testRelationId() { $oLink = new Link('https://github.com/PHPOffice/PHPWord'); $iVal = rand(1, 1000); $oLink->setRelationId($iVal); $this->assertEquals($iVal, $oLink->getRelationId()); }
/** * Set/get relation Id */ public function testRelationId() { $oLink = new Link('http://www.google.com'); $iVal = rand(1, 1000); $oLink->setRelationId($iVal); $this->assertEquals($oLink->getRelationId(), $iVal); }