hasShowSeriesName() public method

Get ShowSeriesName
public hasShowSeriesName ( ) : boolean
return boolean
コード例 #1
0
ファイル: SeriesTest.php プロジェクト: hxsam/PHPPresentation
 public function testShowSeriesName()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowSeriesName(true));
     $this->assertTrue($object->hasShowSeriesName());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowSeriesName(false));
     $this->assertFalse($object->hasShowSeriesName());
 }