private function findNonExistingUserName()
{
for ($i = 0; $i < 20; ++$i) {
$username = 'User#' . uniqid();
if (!$this->checkUserExistenceByUsername($username)) {
return $username;
}
}
throw new \Exception('Possible endless loop when attempting to find a new name for User.');
}