public function testFillSolidText()
{
$expected = 'E06B20';
$oPhpPresentation = new PhpPresentation();
$oSlide = $oPhpPresentation->getActiveSlide();
$oShape = $oSlide->createRichTextShape();
$oShape->setHeight(200)->setWidth(600)->setOffsetX(150)->setOffsetY(300);
$oFill = $oShape->getFill();
$oFill->setFillType(Fill::FILL_SOLID)->setStartColor(new Color('FF' . $expected));
$pres = TestHelperDOCX::getDocument($oPhpPresentation, 'PowerPoint2007');
$element = '/p:sld/p:cSld/p:spTree/p:sp/p:spPr/a:solidFill/a:srgbClr';
$this->assertTrue($pres->elementExists($element, 'ppt/slides/slide1.xml'));
$this->assertEquals($expected, $pres->getElementAttribute($element, 'val', 'ppt/slides/slide1.xml'));
}