/** * Generates a session ID. * * @return string */ protected function generateId() { return Random::getPseudoString(32); }
/** * Tests the method check */ public function testGetPseudoStringMethodChecks() { try { Random::getPseudoString(61, 'nonexistent'); $this->fail('The method check fails'); } catch (Exception $exception) { } }