Example #1
0
 public function testShowCategoryName()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Series', $object->setShowCategoryName(true));
     $this->assertTrue($object->hasShowCategoryName());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Series', $object->setShowCategoryName(false));
     $this->assertFalse($object->hasShowCategoryName());
 }