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