public function testGetSetUpright() { $object = new RichText(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright()); $this->assertFalse($object->isUpright()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright(true)); $this->assertTrue($object->isUpright()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setUpright(false)); $this->assertFalse($object->isUpright()); }