/** * @expectedException ListHeaderException */ public function testSetTextAlignmentStyle_UnsupportedType() { $textAlignmentStyle = 'bottom'; $this->object->setTextAlignmentStyle($textAlignmentStyle); }