public function testGradientTable()
{
$oPhpPresentation = new PhpPresentation();
$oSlide = $oPhpPresentation->getActiveSlide();
$oShape = $oSlide->createTableShape();
$oRow = $oShape->createRow();
$oCell = $oRow->getCell();
$oCell->getFill()->setFillType(Fill::FILL_GRADIENT_LINEAR)->setStartColor(new Color('FFFF7700'))->setEndColor(new Color('FFFFFFFF'));
$pres = TestHelperDOCX::getDocument($oPhpPresentation, 'ODPresentation');
$element = "/office:document-styles/office:styles/draw:gradient";
$this->assertEquals('gradient_' . $oCell->getFill()->getHashCode(), $pres->getElementAttribute($element, 'draw:name', 'styles.xml'));
}