Bolt\Tests\TokenGeneratorTest::testNullHostName PHP Method

testNullHostName() public method

public testNullHostName ( )
    public function testNullHostName()
    {
        $username = 'koala';
        $salt = 'vinagre';
        $remoteIP = '8.8.8.8';
        $hostName = null;
        $userAgent = 'Smith';
        $cookieOptions = ['remoteaddr' => true, 'httphost' => true, 'browseragent' => true];
        new Generator($username, $salt, $remoteIP, $hostName, $userAgent, $cookieOptions);
    }