Exemple #1
0
 public function testFont()
 {
     $object = new Title();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setFont());
     $this->assertNull($object->getFont());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setFont(new Font()));
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Font', $object->getFont());
 }