public function testPosition()
{
$object = new Legend();
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->setPosition());
$this->assertEquals(Legend::POSITION_RIGHT, $object->getPosition());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->setPosition(Legend::POSITION_BOTTOM));
$this->assertEquals(Legend::POSITION_BOTTOM, $object->getPosition());
}