Neos\Flow\Tests\Unit\Http\CookieTest::createCookieFromRawIgnoresDomainAttributeIfValueIsEmpty PHP Method

createCookieFromRawIgnoresDomainAttributeIfValueIsEmpty() public method

    public function createCookieFromRawIgnoresDomainAttributeIfValueIsEmpty()
    {
        $cookie = Cookie::createFromRawSetCookieHeader('ckName=someValue; Domain=; more=nothing');
        $this->assertNull($cookie->getDomain());
    }