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