public function testParent() { $object = new Slide(); $this->assertNull($object->getParent()); $oPhpPresentation = new PhpPresentation(); $object = new Slide($oPhpPresentation); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PhpPresentation', $object->getParent()); }