public function testStyleFont()
{
$phpPresentation = new PhpPresentation();
$oSlide = $phpPresentation->getActiveSlide();
$oRichText = $oSlide->createRichTextShape();
$oRun = $oRichText->createTextRun('Run1');
$oRun->getFont()->setBold(true);
$expectedHashCode = $oRun->getHashCode();
$pres = TestHelperDOCX::getDocument($phpPresentation, 'ODPresentation');
$element = '/office:document-content/office:automatic-styles/style:style[@style:name=\'T_' . $expectedHashCode . '\']/style:text-properties';
$this->assertTrue($pres->elementExists($element, 'content.xml'));
$this->assertEquals('bold', $pres->getElementAttribute($element, 'fo:font-weight', 'content.xml'));
}