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