Esempio n. 1
0
 public function testSetTextAlignmentStyle()
 {
     $textAlignmentStyle = 'left';
     $this->object->setTextAlignmentStyle($textAlignmentStyle);
     $this->assertEquals($textAlignmentStyle, $this->object->getTextAlignmentStyle());
     $textAlignmentStyle = 'right';
     $this->object->setTextAlignmentStyle($textAlignmentStyle);
     $this->assertEquals($textAlignmentStyle, $this->object->getTextAlignmentStyle());
     $textAlignmentStyle = 'center';
     $this->object->setTextAlignmentStyle($textAlignmentStyle);
     $this->assertEquals($textAlignmentStyle, $this->object->getTextAlignmentStyle());
 }