public testRandomGenerator ( ) |
public function testRandomGenerator()
{
$check = array();
$count = 25;
for ($i = 0; $i < $count; $i++) {
$result = String::random(8);
$this->assertFalse(in_array($result, $check));
$check[] = $result;
}
}