Пример #1
0
 public function testParent()
 {
     $object = new Note();
     $this->assertNull($object->getParent());
     $oPhpPowerpoint = new PhpPowerpoint();
     $oSlide = $oPhpPowerpoint->createSlide();
     $oSlide->setNote($object);
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Slide', $object->getParent());
 }