Esempio n. 1
0
 public function testOffsetX()
 {
     $object = new Legend();
     $value = rand(0, 100);
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Legend', $object->setOffsetX());
     $this->assertEquals(0, $object->getOffsetX());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\Chart\\Legend', $object->setOffsetX($value));
     $this->assertEquals($value, $object->getOffsetX());
 }