Пример #1
0
 public function testGetSetUpright()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\RichText', $object->setUpright());
     $this->assertFalse($object->isUpright());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\RichText', $object->setUpright(true));
     $this->assertTrue($object->isUpright());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\RichText', $object->setUpright(false));
     $this->assertFalse($object->isUpright());
 }