/** * @expectedException \Zend\Barcode\Object\Exception */ public function testStringFontSize() { $this->_object->setFontSize('22a'); }