Пример #1
0
 public function testGetSetHOverflow()
 {
     $object = new RichText();
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\RichText', $object->setHorizontalOverflow());
     $this->assertEquals(RichText::OVERFLOW_OVERFLOW, $object->getHorizontalOverflow());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\RichText', $object->setHorizontalOverflow(RichText::OVERFLOW_CLIP));
     $this->assertEquals(RichText::OVERFLOW_CLIP, $object->getHorizontalOverflow());
 }