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