public function testText() { $object = new Title(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setText()); $this->assertNull($object->getText()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->setText('AAAA')); $this->assertEquals('AAAA', $object->getText()); }