Example #1
0
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $this->setExpectedException('\\Zend\\ServiceManager\\Exception\\ServiceNotFoundException');
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }
Example #2
0
 /**
  * @expectedException PHPUnit_Framework_Error
  */
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }
Example #3
0
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $this->setExpectedException('\Zend\Barcode\Exception\InvalidArgumentException');
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }
Example #4
0
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $this->setExpectedException('\\Zend\\Loader\\Exception\\RuntimeException');
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }