public function __construct() { $this->hash = Random::generateToken(); }
/** * @test */ public function shouldAllowGenerateToken() { $token = Random::generateToken(); $this->assertInternalType('string', $token); $this->assertEquals(43, strlen($token)); }