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