Exemplo n.º 1
0
 /**
  * run() should update the element's style
  */
 public function testRun_doesNotUnderline_ifParameterIsZero()
 {
     $style = new \Jstewmc\Rtf\Style();
     $element = new Ul();
     $element->setParameter('0');
     $element->setStyle($style);
     $this->assertFalse($element->getStyle()->getCharacter()->getIsUnderline());
     $element->run();
     $this->assertFalse($element->getStyle()->getCharacter()->getIsUnderline());
     return;
 }