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