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