| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function testIsValidId() |
||
| 39 | { |
||
| 40 | $center = 5; |
||
| 41 | $node = 10; |
||
| 42 | $source = "test_source"; |
||
| 43 | $id = $this->uniqueId->createId($center, $node, $source); |
||
| 44 | $this->assertTrue($this->uniqueId->isValidId($id)); |
||
| 45 | |||
| 46 | $invalidId = 1234567890123456789; |
||
| 47 | $this->assertTrue($this->uniqueId->isValidId($invalidId)); |
||
| 48 | } |
||
| 50 |