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