Ejemplo n.º 1
0
 /**
  * run() should italicize the characters if the parameter is zero
  */
 public function testRun_doesNotItalicize_ifParameterIsZero()
 {
     $style = new \Jstewmc\Rtf\Style();
     $element = new I();
     $element->setParameter('0');
     $element->setStyle($style);
     $this->assertFalse($element->getStyle()->getCharacter()->getIsItalic());
     $element->run();
     $this->assertFalse($element->getStyle()->getCharacter()->getIsItalic());
     return;
 }