コード例 #1
0
ファイル: TestCommon.php プロジェクト: niallmccrudden/zf2
 public function testModuleSizeLessThan0()
 {
     $this->setExpectedException('\Zend\Barcode\Renderer\Exception');
     $this->_renderer->setModuleSize(-0.5);
 }
コード例 #2
0
ファイル: TestCommon.php プロジェクト: rcastardo/zf2
 public function testModuleSizeLessThan0()
 {
     $this->setExpectedException('\\Zend\\Barcode\\Renderer\\Exception\\ExceptionInterface');
     $this->renderer->setModuleSize(-0.5);
 }