public function testData() { $object = new Line(); $this->assertInternalType('array', $object->getSeries()); $this->assertEmpty($object->getSeries()); $array = array(new Series(), new Series()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Type\\Line', $object->setSeries()); $this->assertEmpty($object->getSeries()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Type\\Line', $object->setSeries($array)); $this->assertCount(count($array), $object->getSeries()); }