示例#1
0
 public function testTitle()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Series', $object->setTitle());
     $this->assertEquals('Series Title', $object->getTitle());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Series', $object->setTitle('AAAA'));
     $this->assertEquals('AAAA', $object->getTitle());
 }