setThumbnailPath() public method

Define the path for the thumbnail file / preview picture
public setThumbnailPath ( string $path = '' ) : PresentationProperties
$path string
return PresentationProperties
 public function testThumbnail()
 {
     $imagePath = PHPPRESENTATION_TESTS_BASE_DIR . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'PhpPresentationLogo.png';
     $object = new PresentationProperties();
     $this->assertNull($object->getThumbnailPath());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setThumbnailPath('AAAA'));
     $this->assertNull($object->getThumbnailPath());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setThumbnailPath());
     $this->assertNull($object->getThumbnailPath());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setThumbnailPath($imagePath));
     $this->assertEquals($imagePath, $object->getThumbnailPath());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setThumbnailPath());
     $this->assertEquals($imagePath, $object->getThumbnailPath());
 }