Beispiel #1
0
 public function testVisible()
 {
     $object = new Title();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setVisible());
     $this->assertTrue($object->isVisible());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setVisible(true));
     $this->assertTrue($object->isVisible());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setVisible(false));
     $this->assertFalse($object->isVisible());
 }