public function testShowSeriesName() { $object = new Series(); $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Series', $object->setShowSeriesName(true)); $this->assertTrue($object->hasShowSeriesName()); $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Series', $object->setShowSeriesName(false)); $this->assertFalse($object->hasShowSeriesName()); }