Uploaded From CV. Swandhana Server
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class PharmacodeTest extends TestCase
|
||||
{
|
||||
public function test_validation_triggerd_when_generating_zero_code()
|
||||
{
|
||||
$pharmacode = new Picqer\Barcode\Types\TypePharmacodeTwoCode();
|
||||
|
||||
$this->expectException(Picqer\Barcode\Exceptions\InvalidLengthException::class);
|
||||
|
||||
$pharmacode->getBarcode('0');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user