public function testGetSetUrl() { $object = new Hyperlink(); $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Hyperlink', $object->setUrl()); $this->assertEmpty($object->getUrl()); $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Hyperlink', $object->setUrl('http://www.github.com')); $this->assertEquals('http://www.github.com', $object->getUrl()); }