Exemple #1
0
 public function testBadTopOffset()
 {
     $this->setExpectedException('\Zend\Barcode\Renderer\Exception');
     $this->_renderer->setTopOffset(- 1);
 }
Exemple #2
0
 public function testBadTopOffset()
 {
     $this->setExpectedException('\\Zend\\Barcode\\Renderer\\Exception\\ExceptionInterface');
     $this->renderer->setTopOffset(-1);
 }