validate() public static method

public static validate ( mixed $di ) : boolean
$di mixed - Device Identifier component
return boolean
Example #1
0
 /**
  * testInvalidUdi
  *
  * @param mixed $di
  *
  * @dataProvider getInvalidUdi
  *
  * @return void
  */
 public function testInvalidUdi($di)
 {
     $this->assertFalse(Udi::validate($di));
 }