public function testTableWithColspan()
{
$oPhpPresentation = new PhpPresentation();
$oSlide = $oPhpPresentation->getActiveSlide();
$oShape = $oSlide->createTableShape(4);
$oShape->setHeight(200)->setWidth(600)->setOffsetX(150)->setOffsetY(300);
$oRow = $oShape->createRow();
$oCell = $oRow->getCell();
$oCell->createTextRun('AAA');
$oCell->setColSpan(2);
$pres = TestHelperDOCX::getDocument($oPhpPresentation, 'PowerPoint2007');
$element = '/p:sld/p:cSld/p:spTree/p:graphicFrame/a:graphic/a:graphicData/a:tbl/a:tr/a:tc';
$this->assertTrue($pres->elementExists($element, 'ppt/slides/slide1.xml'));
$this->assertEquals(2, $pres->getElementAttribute($element, 'gridSpan', 'ppt/slides/slide1.xml'));
}