/** * @expectedException ListHeaderException */ public function testSetSortField_IvalidString() { $this->object->setSortField(123); }