public function testHashIndex()
{
$object = new Legend();
$value = rand(1, 100);
$this->assertEmpty($object->getHashIndex());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->setHashIndex($value));
$this->assertEquals($value, $object->getHashIndex());
}