public function UuidValidatorTest::testValidStrictUuids in Plug 7
@dataProvider getValidStrictUuids
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ UuidValidatorTest.php, line 58
Class
- UuidValidatorTest
- @author Colin O'Dell <colinodell@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidStrictUuids($uuid, $versions = null) {
$constraint = new Uuid();
if (null !== $versions) {
$constraint->versions = $versions;
}
$this->validator
->validate($uuid, $constraint);
$this
->assertNoViolation();
}