getTitle() public method

Get Title
public getTitle ( ) : string
return string
コード例 #1
0
ファイル: SeriesTest.php プロジェクト: hxsam/PHPPresentation
 public function testTitle()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setTitle());
     $this->assertEquals('Series Title', $object->getTitle());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setTitle('AAAA'));
     $this->assertEquals('AAAA', $object->getTitle());
 }