public function testUniqueId()
{
$strings = [];
for ($i = 0; $i < 1024; ++$i) {
$strings[] = \Airship\uniqueId(33);
}
$this->assertSame($strings, \array_unique($strings), 'Collision!');
for ($i = 18; $i < 30; ++$i) {
$unique = \trim(\Airship\uniqueId($i), '=');
$this->assertSame($i, Binary::safeStrlen($unique));
}
}