/** * @expectedException Zend_Barcode_Object_Exception */ public function testNegativeBarThickWidth() { $this->_object->setBarThickWidth(-1); }