assertInstanceOf('PhpOffice\PhpPresentation\Style\Outline', $object->getOutline()); } public function testGetSetOutline() { $object = new Gridlines(); $oStub = $this->getMockBuilder('PhpOffice\PhpPresentation\Style\Outline')->getMock(); $this->assertInstanceOf('PhpOffice\PhpPresentation\Style\Outline', $object->getOutline()); $this->assertInstanceOf('PhpOffice\PhpPresentation\Shape\Chart\Gridlines', $object->setOutline($oStub)); $this->assertInstanceOf('PhpOffice\PhpPresentation\Style\Outline', $object->getOutline()); } }