/** * @expectedException \Zend\Barcode\Object\Exception */ public function testCheckParamsFontWithOrientation() { $this->_object->setText('0'); $this->_object->setFont(1); $this->_object->setOrientation(45); $this->_object->checkParams(); }