setCommentVisible() public method

public setCommentVisible ( boolean $value = false )
$value boolean
 public function testCommentVisible()
 {
     $object = new PresentationProperties();
     $this->assertFalse($object->isCommentVisible());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setCommentVisible('AAAA'));
     $this->assertFalse($object->isCommentVisible());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setCommentVisible(true));
     $this->assertTrue($object->isCommentVisible());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setCommentVisible(false));
     $this->assertFalse($object->isCommentVisible());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\PresentationProperties', $object->setCommentVisible());
     $this->assertFalse($object->isCommentVisible());
 }