public function testNegativeBarThickWidth() { $this->setExpectedException('\\Zend\\Barcode\\Object\\Exception'); $this->_object->setBarThickWidth(-1); }