public hasShowPercentage ( ) : boolean | ||
Результат | boolean |
public function hasShowPercentage()
{
return $this->showPercentage;
}
public function testShowPercentage() { $object = new Series(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowPercentage(true)); $this->assertTrue($object->hasShowPercentage()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowPercentage(false)); $this->assertFalse($object->hasShowPercentage()); }