Bolt\Tests\TokenGeneratorTest::testGenerateEverything PHP Method

testGenerateEverything() public method

    public function testGenerateEverything()
    {
        $username = 'koala';
        $salt = 'vinagre';
        $remoteIP = '8.8.8.8';
        $hostName = 'tests.bolt.cm';
        $userAgent = 'Smith';
        $cookieOptions = ['remoteaddr' => true, 'httphost' => true, 'browseragent' => true];
        $generator = new Generator($username, $salt, $remoteIP, $hostName, $userAgent, $cookieOptions);
        $this->assertSame('9b5573929c64c32c04f194e803397b5b2331c0e37710f18880919c7821012b00', (string) $generator);
    }