public function testSeries() { $object = new Pie(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Type\\Pie', $object->addSeries(new Series())); $this->assertCount(1, $object->getSeries()); }