Exemplo n.º 1
0
 public function testHeight()
 {
     $object = new RichText();
     $value = rand(1, 100);
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\AbstractShape', $object->setHeight());
     $this->assertEquals(0, $object->getHeight());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\AbstractShape', $object->setHeight($value));
     $this->assertEquals($value, $object->getHeight());
 }