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