/** * @expectedException \Zend\Barcode\Object\Exception */ public function testNegativeBarThickWidth() { $this->_object->setBarThickWidth(-1); }