예제 #1
0
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $this->setExpectedException('\\Zend\\ServiceManager\\Exception\\ServiceNotFoundException');
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }
예제 #2
0
파일: FactoryTest.php 프로젝트: stunti/zf2
 /**
  * @expectedException PHPUnit_Framework_Error
  */
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }
예제 #3
0
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $this->setExpectedException('\Zend\Barcode\Exception\InvalidArgumentException');
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }
예제 #4
0
 public function testBarcodeRendererFactoryWithUnexistantRenderer()
 {
     $this->setExpectedException('\\Zend\\Loader\\Exception\\RuntimeException');
     $renderer = Barcode\Barcode::makeRenderer('zend', array());
 }