Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function generatesUuidV4() |
||
36 | { |
||
37 | $uuidPattern = '/[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}/'; |
||
38 | |||
39 | $this->assertRegExp($uuidPattern, $this->generateV4Uuid()); |
||
40 | $this->assertRegExp($uuidPattern, $this->generateV4Uuid()); |
||
41 | $this->assertRegExp($uuidPattern, $this->generateV4Uuid()); |
||
42 | $this->assertRegExp($uuidPattern, $this->generateV4Uuid()); |
||
43 | $this->assertRegExp($uuidPattern, $this->generateV4Uuid()); |
||
44 | } |
||
46 |