Exemplo n.º 1
0
 public function testIsInternal()
 {
     $object = new Hyperlink();
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Hyperlink', $object->setSlideNumber());
     $this->assertTrue($object->isInternal());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Hyperlink', $object->setUrl('http://www.github.com'));
     $this->assertFalse($object->isInternal());
 }